Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | <= 5.3.10 |
Related Weaknesses (CWE)
References
- http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.htmlMailing ListThird Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080037.htmlMailing ListThird Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080041.htmlMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.htmlMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.htmlMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00001.htmlMailing ListThird 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/51954PatchThird Party AdvisoryVDB Entry
- http://www.ubuntu.com/usn/USN-1358-1PatchThird Party Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/73125Third Party AdvisoryVDB Entry
- https://launchpadlibrarian.net/92454212/php5_5.3.2-1ubuntu4.13.diff.gzExploitThird Party Advisory
FAQ
What is CVE-2012-0831?
CVE-2012-0831 is a vulnerability with a CVSS score of 6.8 (MEDIUM). 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 SQ...
How severe is CVE-2012-0831?
CVE-2012-0831 has been rated MEDIUM with a CVSS base score of 6.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2012-0831?
Check the references section above for vendor advisories and patch information. Affected products include: Php Php.