CVE-2012-0831
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…
Does this matter?
Lower severity and a low EPSS score (6.47%). Track it; it rarely justifies an emergency change on its own.
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 2.0
- 6.8 MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
- EPSS
- 6.47% probability · 94th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-20
- Affected
- php/php
- Source
- secalert@redhat.com
EPSS 6.5% since 26 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
References
- http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.htmlMailing List, Third Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080037.htmlMailing List, Third Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080041.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00001.htmlMailing List, Third Party Advisory
- http://rhn.redhat.com/errata/RHSA-2013-1307.htmlThird Party Advisory
- http://secunia.com/advisories/48668Third Party Advisory
- http://secunia.com/advisories/55078Third Party Advisory
- http://support.apple.com/kb/HT5501Third Party Advisory
- http://svn.php.net/viewvc?view=revision&revision=323016Vendor Advisory
- http://www.securityfocus.com/bid/51954Patch, Third Party Advisory, VDB Entry
- http://www.ubuntu.com/usn/USN-1358-1Patch, Third Party Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/73125Third Party Advisory, VDB Entry
- https://launchpadlibrarian.net/92454212/php5_5.3.2-1ubuntu4.13.diff.gzExploit, Third Party Advisory
- http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.htmlMailing List, Third Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080037.htmlMailing List, Third Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080041.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00001.htmlMailing List, Third Party Advisory
- http://rhn.redhat.com/errata/RHSA-2013-1307.htmlThird Party Advisory
- http://secunia.com/advisories/48668Third Party Advisory
- http://secunia.com/advisories/55078Third Party Advisory
- http://support.apple.com/kb/HT5501Third Party Advisory
- http://svn.php.net/viewvc?view=revision&revision=323016Vendor Advisory
- http://www.securityfocus.com/bid/51954Patch, Third Party Advisory, VDB Entry
- http://www.ubuntu.com/usn/USN-1358-1Patch, Third Party Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/73125Third Party Advisory, VDB Entry
- https://launchpadlibrarian.net/92454212/php5_5.3.2-1ubuntu4.13.diff.gzExploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.