CVE-2012-0831
Last modified
CVE-2012-0831 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 6.71% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | <= 5.3.10 |
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
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2012-0831?
How severe is CVE-2012-0831?
How do I fix CVE-2012-0831?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2012
- CVE-2012-0825Drupal 6.x before 6.23 and 7.x before 7.11 does not verify t…
- CVE-2012-0826Cross-site request forgery (CSRF) vulnerability in the Aggre…
- CVE-2012-0827The File module in Drupal 7.x before 7.11, when using unspec…
- CVE-2012-0828Heap-based buffer overflow in Xchat-WDK before 1499-4 (2012-…9.8
- CVE-2012-0829Multiple cross-site request forgery (CSRF) vulnerabilities i…
- CVE-2012-0830The php_register_variable_ex function in php_variables.c in …
- CVE-2012-0832Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2012-0833The acllas__handle_group_entry function in servers/plugins/a…
- CVE-2012-0834Cross-site scripting (XSS) vulnerability in lib/QueryRender.…
- CVE-2012-0835Unspecified vulnerability in Joomla! 1.7.x before 1.7.5 and …
- CVE-2012-0836Unspecified vulnerability in Joomla! 1.7.x before 1.7.5 allo…
- CVE-2012-0837Joomla! 1.7.x before 1.7.5 and 2.5.x before 2.5.1 allows att…
Are you affected by CVE-2012-0831?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
