Back

HIGH

php: change to the FILTER_UNSAFE_RAW in 5.2.7 breaks magic_quotes_gpc

Published Jan 5, 2009

Description

PHP 5.2.7 contains an incorrect change to the FILTER_UNSAFE_RAW functionality, and unintentionally disables magic_quotes_gpc regardless of the actual magic_quotes_gpc setting, which might make it easier for context-dependent attackers to conduct SQL injection attacks and unspecified other attacks.

Affected products

Remediation

Red Hat statement

Not vulnerable. This issue did not affect the versions of the php package, as shipped with Red Hat Enterprise Linux 2.1, 3, 4, 5, and with Red Hat Application Stack v1 and v2. Only PHP version 5.2.7 was affected by this flaw.

Metrics

Weaknesses (1)

References (11)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Jan 5, 2009
Updated Aug 7, 2024
Reserved Jan 5, 2009
NVD
Status Modified
Modified Jun 16, 2026
Red Hat
Severity n/a
Public date Dec 8, 2008