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 attackers to bypass an HTTP response-splitting…
Does this matter?
Lower severity and a low EPSS score (4.23%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 2.0
- 4.3 MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
- EPSS
- 4.23% probability · 90th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-20
- Affected
- php/php · canonical/ubuntu linux · debian/debian linux
- Source
- secalert@redhat.com
References
- http://article.gmane.org/gmane.comp.php.devel/70584Broken Link
- http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.htmlMailing List, Third Party Advisory
- http://openwall.com/lists/oss-security/2012/08/29/5Mailing List, Third Party Advisory
- http://openwall.com/lists/oss-security/2012/09/02/1Mailing List, Third Party Advisory
- http://openwall.com/lists/oss-security/2012/09/05/15Mailing List, Third Party Advisory
- http://openwall.com/lists/oss-security/2012/09/07/3Mailing List, Third Party Advisory
- http://security-tracker.debian.org/tracker/CVE-2012-4388Third Party Advisory
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/main/SAPI.c?r1=323986&r2=323985&pathrev=323986Exploit, Patch, Vendor Advisory
- http://www.securitytracker.com/id?1027463Third Party Advisory, VDB Entry
- http://www.ubuntu.com/usn/USN-1569-1Third Party Advisory
- https://bugs.php.net/bug.php?id=60227Vendor Advisory
- http://article.gmane.org/gmane.comp.php.devel/70584Broken Link
- http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.htmlMailing List, Third Party Advisory
- http://openwall.com/lists/oss-security/2012/08/29/5Mailing List, Third Party Advisory
- http://openwall.com/lists/oss-security/2012/09/02/1Mailing List, Third Party Advisory
- http://openwall.com/lists/oss-security/2012/09/05/15Mailing List, Third Party Advisory
- http://openwall.com/lists/oss-security/2012/09/07/3Mailing List, Third Party Advisory
- http://security-tracker.debian.org/tracker/CVE-2012-4388Third Party Advisory
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/main/SAPI.c?r1=323986&r2=323985&pathrev=323986Exploit, Patch, Vendor Advisory
- http://www.securitytracker.com/id?1027463Third Party Advisory, VDB Entry
- http://www.ubuntu.com/usn/USN-1569-1Third Party Advisory
- https://bugs.php.net/bug.php?id=60227Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.