CVE-2012-0831
Apache HTTP Server SQL Injection 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.
INFO
Published Date :
Feb. 10, 2012, 8:55 p.m.
Last Modified :
April 11, 2025, 12:51 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
6.4
Exploitability Score :
8.6
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2012-0831
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2012-0831
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2012-0831
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html Added Reference http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080037.html Added Reference http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080041.html Added Reference http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html Added Reference http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.html Added Reference http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00001.html Added Reference http://rhn.redhat.com/errata/RHSA-2013-1307.html Added Reference http://secunia.com/advisories/48668 Added Reference http://secunia.com/advisories/55078 Added Reference http://support.apple.com/kb/HT5501 Added Reference http://svn.php.net/viewvc?view=revision&revision=323016 Added Reference http://www.securityfocus.com/bid/51954 Added Reference http://www.ubuntu.com/usn/USN-1358-1 Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/73125 Added Reference https://launchpadlibrarian.net/92454212/php5_5.3.2-1ubuntu4.13.diff.gz -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Aug. 16, 2022
Action Type Old Value New Value Changed Reference Type http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html No Types Assigned http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html Mailing List, Third Party Advisory Changed Reference Type http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080037.html No Types Assigned http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080037.html Mailing List, Third Party Advisory Changed Reference Type http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080041.html No Types Assigned http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080041.html Mailing List, Third Party Advisory Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html Mailing List, Third Party Advisory Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.html Mailing List, Third Party Advisory Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00001.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00001.html Mailing List, Third Party Advisory Changed Reference Type http://rhn.redhat.com/errata/RHSA-2013-1307.html No Types Assigned http://rhn.redhat.com/errata/RHSA-2013-1307.html Third Party Advisory Changed Reference Type http://secunia.com/advisories/48668 Vendor Advisory http://secunia.com/advisories/48668 Third Party Advisory Changed Reference Type http://secunia.com/advisories/55078 No Types Assigned http://secunia.com/advisories/55078 Third Party Advisory Changed Reference Type http://support.apple.com/kb/HT5501 No Types Assigned http://support.apple.com/kb/HT5501 Third Party Advisory Changed Reference Type http://svn.php.net/viewvc?view=revision&revision=323016 No Types Assigned http://svn.php.net/viewvc?view=revision&revision=323016 Vendor Advisory Changed Reference Type http://www.securityfocus.com/bid/51954 Patch http://www.securityfocus.com/bid/51954 Patch, Third Party Advisory, VDB Entry Changed Reference Type http://www.ubuntu.com/usn/USN-1358-1 Patch http://www.ubuntu.com/usn/USN-1358-1 Patch, Third Party Advisory Changed Reference Type https://exchange.xforce.ibmcloud.com/vulnerabilities/73125 No Types Assigned https://exchange.xforce.ibmcloud.com/vulnerabilities/73125 Third Party Advisory, VDB Entry Changed Reference Type https://launchpadlibrarian.net/92454212/php5_5.3.2-1ubuntu4.13.diff.gz Exploit https://launchpadlibrarian.net/92454212/php5_5.3.2-1ubuntu4.13.diff.gz Exploit, Third Party Advisory Changed CPE Configuration OR *cpe:2.3:a:php:php:1.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:2.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:2.0b10:*:*:*:*:*:*:* *cpe:2.3:a:php:php:3.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:3.0.1:*:*:*:*:*:*:* *cpe:2.3:a:php:php:3.0.2:*:*:*:*:*:*:* *cpe:2.3:a:php:php:3.0.3:*:*:*:*:*:*:* *cpe:2.3:a:php:php:3.0.4:*:*:*:*:*:*:* *cpe:2.3:a:php:php:3.0.5:*:*:*:*:*:*:* *cpe:2.3:a:php:php:3.0.6:*:*:*:*:*:*:* *cpe:2.3:a:php:php:3.0.7:*:*:*:*:*:*:* *cpe:2.3:a:php:php:3.0.8:*:*:*:*:*:*:* *cpe:2.3:a:php:php:3.0.9:*:*:*:*:*:*:* *cpe:2.3:a:php:php:3.0.10:*:*:*:*:*:*:* *cpe:2.3:a:php:php:3.0.11:*:*:*:*:*:*:* *cpe:2.3:a:php:php:3.0.12:*:*:*:*:*:*:* *cpe:2.3:a:php:php:3.0.13:*:*:*:*:*:*:* *cpe:2.3:a:php:php:3.0.14:*:*:*:*:*:*:* *cpe:2.3:a:php:php:3.0.15:*:*:*:*:*:*:* *cpe:2.3:a:php:php:3.0.16:*:*:*:*:*:*:* *cpe:2.3:a:php:php:3.0.17:*:*:*:*:*:*:* *cpe:2.3:a:php:php:3.0.18:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0:beta1:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0:beta2:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0:beta3:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0:beta4:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0:beta_4_patch1:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.1:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.2:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.3:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.4:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.5:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.6:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.7:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.1.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.1.1:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.1.2:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.2.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.2.1:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.2.2:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.2.3:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.3.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.3.1:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.3.2:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.3.3:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.3.4:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.3.5:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.3.6:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.3.7:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.3.8:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.3.9:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.3.10:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.3.11:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.4.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.4.1:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.4.2:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.4.3:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.4.4:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.4.5:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.4.6:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.4.7:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.4.8:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.4.9:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.0:beta1:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.0:beta2:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.0:beta3:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.0:beta4:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.0:rc2:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.0:rc3:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.1:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.2:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.3:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.4:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.5:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.1.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.1.1:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.1.2:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.1.3:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.1.4:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.1.5:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.1.6:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.2.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.2.1:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.2.2:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.2.3:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.2.4:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.2.5:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.2.6:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.2.8:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.2.9:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.2.10:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.2.11:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.2.12:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.2.13:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.2.14:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.2.15:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.2.16:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.3.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.3.1:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.3.2:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.3.3:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.3.4:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.3.5:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.3.6:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.3.7:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.3.8:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.3.9:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.3.10:*:*:*:*:*:*:* *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions up to (including) 5.3.11 OR *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions up to (including) 5.3.10 -
CVE Modified by [email protected]
Jan. 18, 2018
Action Type Old Value New Value Added Reference http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00001.html [No Types Assigned] -
CVE Modified by [email protected]
Jan. 09, 2018
Action Type Old Value New Value Added Reference http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html [No Types Assigned] -
CVE Modified by [email protected]
Aug. 29, 2017
Action Type Old Value New Value Removed Reference http://xforce.iss.net/xforce/xfdb/73125 [No Types Assigned] Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/73125 [No Types Assigned] -
Initial Analysis by [email protected]
Feb. 13, 2012
Action Type Old Value New Value
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2012-0831
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2012-0831
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
16.05 }} 3.16%
score
0.94239
percentile