CVE-2012-4388

N/A Unknown
Published: September 07, 2012 Modified: April 29, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://article.gmane.org/gmane.comp.php.devel/70584
Source: secalert@redhat.com
Broken Link
http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html
Source: secalert@redhat.com
Mailing List Third Party Advisory
http://openwall.com/lists/oss-security/2012/08/29/5
Source: secalert@redhat.com
Mailing List Third Party Advisory
http://openwall.com/lists/oss-security/2012/09/02/1
Source: secalert@redhat.com
Mailing List Third Party Advisory
http://openwall.com/lists/oss-security/2012/09/05/15
Source: secalert@redhat.com
Mailing List Third Party Advisory
http://openwall.com/lists/oss-security/2012/09/07/3
Source: secalert@redhat.com
Mailing List Third Party Advisory
http://security-tracker.debian.org/tracker/CVE-2012-4388
Source: secalert@redhat.com
Third Party Advisory
http://www.securitytracker.com/id?1027463
Source: secalert@redhat.com
Third Party Advisory VDB Entry
http://www.ubuntu.com/usn/USN-1569-1
Source: secalert@redhat.com
Third Party Advisory
https://bugs.php.net/bug.php?id=60227
Source: secalert@redhat.com
Vendor Advisory
http://article.gmane.org/gmane.comp.php.devel/70584
Source: af854a3a-2127-422b-91ae-364da2661108
Broken Link
http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
http://openwall.com/lists/oss-security/2012/08/29/5
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
http://openwall.com/lists/oss-security/2012/09/02/1
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
http://openwall.com/lists/oss-security/2012/09/05/15
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
http://openwall.com/lists/oss-security/2012/09/07/3
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
http://security-tracker.debian.org/tracker/CVE-2012-4388
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/main/SAPI.c?r1=323986&r2=323985&pathrev=323986
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Patch Vendor Advisory
http://www.securitytracker.com/id?1027463
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory VDB Entry
http://www.ubuntu.com/usn/USN-1569-1
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://bugs.php.net/bug.php?id=60227
Source: af854a3a-2127-422b-91ae-364da2661108
Vendor Advisory

22 reference(s) from NVD

Quick Stats

CVSS v3 Score
N/A / 10.0
EPSS (Exploit Probability)
4.2%
90th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

php canonical debian