Back

MEDIUM

php: PG(magic_quote_gpc) was not restored on shutdown

Published Feb 10, 2012

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.

Affected products

Remediation

Red Hat statement

This issue does not affect the version of php as shipped with Red Hat Enterprise Linux 5.

Metrics

References (19)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner redhat
Published Feb 10, 2012
Updated Aug 6, 2024
Reserved Jan 19, 2012
NVD
Status Modified
Modified Jun 16, 2026
Red Hat
Severity Low
Public date Feb 2, 2012