National Cyber Awareness System
Vulnerability Summary for CVE-2012-0831
Original release date:02/10/2012
Last revised:06/10/2013
Source:
US-CERT/NIST
Overview
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.
Impact
CVSS Severity (version 2.0):
Impact Subscore:
6.4
Exploitability Subscore:
8.6
CVSS Version 2 Metrics:
Access Vector: Network exploitable
Access Complexity: Medium
Authentication: Not required to exploit
Impact Type:Allows unauthorized disclosure of information; Allows unauthorized modification; Allows disruption of service
As per: http://grokbase.com/t/php/php-internals/122ehfap93/about-cve-2012-0831-magic-quotes-gpc-remote-disable-vulnerability
Version 5.3.10 and 5.3.11 are also vulnerable.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.
External Source: UBUNTU
Name: USN-1358-1
Type: Patch Information
External Source: BID
Name: 51954
Type: Patch Information
External Source: CONFIRM
Name: https://launchpadlibrarian.net/92454212/php5_5.3.2-1ubuntu4.13.diff.gz
External Source: XF
Name: php-magicquotesgpc-sec-bypass(73125)
External Source: CONFIRM
Name: http://svn.php.net/viewvc?view=revision&revision=323016
External Source: CONFIRM
Name: http://support.apple.com/kb/HT5501
External Source: SECUNIA
Name: 48668
Type: Advisory
External Source: SUSE
Name: openSUSE-SU-2012:0426
External Source: FEDORA
Name: FEDORA-2012-6907
External Source: FEDORA
Name: FEDORA-2012-6911
External Source: APPLE
Name: APPLE-SA-2012-09-19-2