CVE-2012-0831

php: PG(magic_quote_gpc) was not restored on shutdown

Published Feb 10, 2012 CVSS 2.0 · 6.8 Medium EPSS 6.5% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-2408-1 php5 security update
EUVD EUVD EUVD-2012-0857 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.
Ubuntu USN Ubuntu USN USN-1358-1 PHP vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 6, 2024, 6:38 PM
Reserved
Jan 19, 2012, 12:00 AM
Status
Modified
Published
Feb 10, 2012, 8:55 PM
Modified
Jun 16, 2026, 11:38 PM
Severity
Low
Public date
Feb 2, 2012, 12:00 AM