CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
  Take a third party risk management course for FREE
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : 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 main/php_variables.c, sapi/cgi/cgi_main.c, and sapi/fpm/fpm/fpm_main.c.
Publish Date : 2012-02-10 Last Update Date : 2022-08-16
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
6.8
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Sql Injection
CWE ID 20

- Related OVAL Definitions

Title Definition Id Class Family
DEPRECATED: ELSA-2013-0514 -- php security, bug fix and enhancement update (moderate) oval:org.mitre.oval:def:26943 unix
DEPRECATED: ELSA-2013-1307 -- php53 security, bug fix and enhancement update (moderate) oval:org.mitre.oval:def:27418 unix
DSA-2408-1 php5 -- several oval:org.mitre.oval:def:15188 unix
ELSA-2013:0514: php security, bug fix and enhancement update (Moderate) oval:org.mitre.oval:def:24086 unix
ELSA-2013:1307: php53 security, bug fix and enhancement update (Moderate) oval:org.mitre.oval:def:23222 unix
RHSA-2013:0514: php security, bug fix and enhancement update (Moderate) oval:org.mitre.oval:def:20983 unix
RHSA-2013:0514: php security, bug fix and enhancement update (Moderate) oval:com.redhat.rhsa:def:20130514 unix
RHSA-2013:1307: php53 security, bug fix and enhancement update (Moderate) oval:org.mitre.oval:def:21114 unix
RHSA-2013:1307: php53 security, bug fix and enhancement update (Moderate) oval:com.redhat.rhsa:def:20131307 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2012-0831

# Product Type Vendor Product Version Update Edition Language
1 Application PHP PHP * * * * Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
PHP PHP 1

- References For CVE-2012-0831

http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html
SUSE SUSE-SU-2012:0411
http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00001.html
SUSE SUSE-SU-2012:0472
http://secunia.com/advisories/48668
SECUNIA 48668
https://exchange.xforce.ibmcloud.com/vulnerabilities/73125
XF php-magicquotesgpc-sec-bypass(73125)
http://secunia.com/advisories/55078
SECUNIA 55078
http://support.apple.com/kb/HT5501 CONFIRM
http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080041.html
FEDORA FEDORA-2012-6907
http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html
APPLE APPLE-SA-2012-09-19-2
http://svn.php.net/viewvc?view=revision&revision=323016 CONFIRM
http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.html
SUSE openSUSE-SU-2012:0426
http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080037.html
FEDORA FEDORA-2012-6911
https://launchpadlibrarian.net/92454212/php5_5.3.2-1ubuntu4.13.diff.gz CONFIRM
http://rhn.redhat.com/errata/RHSA-2013-1307.html
REDHAT RHSA-2013:1307
http://www.ubuntu.com/usn/USN-1358-1
UBUNTU USN-1358-1
http://www.securityfocus.com/bid/51954
BID 51954 PHP CVE-2012-0831 'magic_quotes_gpc' Directive Security Bypass Weakness Release Date:2014-11-14

- Metasploit Modules Related To CVE-2012-0831

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.