CVE-2012-0831: php Improper Input Validation
Vulnerability summary
CVE-2012-0831 is a medium (CVSS 6.8) Improper Input Validation vulnerability in php. EPSS estimates a 6.47% chance of exploitation in the next 30 days, higher than 93.7% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3Timeline
- 10-02-2012PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
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 metrics
1 score · 1 source · 1 versionEPSS trend
Probability
6.47%
Chance of exploitation in the next 30 days
Percentile
94%
Versus all other CVEs
30-day change
No change 0.00 pp
From 6.47% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (launchpadlibrarian.net)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication (CVSS vector). Other conditions: not stated in public data.
Php1 product
- php≤ 5.3.10
1 vendor · 1 product
References
15 links- lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.htmlVendor AdvisoryX Refsource SUSEMailing ListThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.htmlVendor AdvisoryX Refsource SUSEMailing ListThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2012-04/msg00001.htmlVendor AdvisoryX Refsource SUSEMailing ListThird Party Advisory
- lists.apple.com/archives/security-announce/2012/Sep/msg00004.htmlVendor AdvisoryX Refsource APPLEMailing ListThird Party Advisory
Show all 15 references
- lists.fedoraproject.org/pipermail/package-announce/2012-May/080041.htmlVendor AdvisoryX Refsource FEDORAMailing ListThird Party Advisory
- launchpadlibrarian.net/92454212/php5_5.3.2-1ubuntu4.13.diff.gzX Refsource CONFIRMExploitThird Party Advisory
- lists.fedoraproject.org/pipermail/package-announce/2012-May/080037.htmlVendor AdvisoryX Refsource FEDORAMailing ListThird Party Advisory