{"cve":"CVE-2012-0831","nvd":{"published":"2012-02-10T20:55:02.047","modified":"2026-06-16T23:38:20.850","status":"Modified","description":"PHP before 5.3.10 does not properly perform a temporary change to the magic_quotes_gpc directive during the importing of environment variables, which makes it easier for remote attackers to conduct SQL injection attacks via a crafted request, related to main/php_variables.c, sapi/cgi/cgi_main.c, and sapi/fpm/fpm/fpm_main.c.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-20"],"references":["http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html","http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080037.html","http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080041.html","http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html","http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.html"],"products":["php:php"],"source":"nvd","synced_at":"2026-10-19T19:59:31.623151214+00:00"},"epss":{"cve":"CVE-2012-0831","score":0.06469,"percentile":0.93747,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}