Skip to content

CVE-2012-4388 The sapi_header_op function in main/SAPI.c in PHP 5.4.0RC2 through 5.4.0 does not properly determine a pointer during checks for %0D sequences (aka carriage return characters), which allows remote att...

MediumCVSS 4.3 EPSS 4.2%
Published
Updated
Exploit status
No public exploit known

Description

The sapi_header_op function in main/SAPI.c in PHP 5.4.0RC2 through 5.4.0 does not properly determine a pointer during checks for %0D sequences (aka carriage return characters), which allows remote attackers to bypass an HTTP response-splitting protection mechanism via a crafted URL, related to improper interaction between the PHP header function and certain browsers, as demonstrated by Internet Explorer and Google Chrome. NOTE: this vulnerability exists because of an incorrect fix for CVE-2011-1398.

Affected products

ProductAffected versionsFixed in
PHP >= 5.3.0, < 5.3.11 5.3.11
PHP = 5.4.0-rc2 No fix listed
Canonical Ubuntu Linux = 8.04 No fix listed
Canonical Ubuntu Linux = 10.04 No fix listed
Canonical Ubuntu Linux = 11.04 No fix listed
Canonical Ubuntu Linux = 11.10 No fix listed
Canonical Ubuntu Linux = 12.04 No fix listed
debian linux = 6.0 No fix listed

References