Skip to content
CVE Tracker
Back

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…

Medium6.8EPSS 6.5%
Published
Updated
Reserved
Assigned by
redhat

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.

Scores

CVSS scores of CVE-2012-0831, by who scored it
Scored byCVSSScoreVector
NVDNVD · Modified2.0Medium6.8AV:N/AC:M/Au:N/C:P/I:P/A:P
EPSS (exploitation in 30 days)
6.5% · top 6.3% of all CVEs (2 Nov 2026)

Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.

Weakness

Affected products

  • n/a

    • affected n/a

References (15)

Sources

The same CVE in the primary databases and aggregators, to check against.

Record last updated .