Unscored severity · published Sep 7, 2012
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),…
–
CVSS
4.2%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)4.2% · higher than 91% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PH
PHP · PHP
5.3.0 before 5.3.11; 5.4.0 · source: NVD
DL
Debian Linux · Debian
6.0 · source: NVD
UL
Ubuntu Linux · Canonical
8.04; 10.04; 11.04; 11.10; 12.04 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2012-4388
CVE.org
https://www.cve.org/CVERecord?id=CVE-2012-4388
Broken Link
http://article.gmane.org/gmane.comp.php.devel/70584
Mailing List
http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html
Mailing List
http://openwall.com/lists/oss-security/2012/08/29/5
Mailing List
http://openwall.com/lists/oss-security/2012/09/02/1
Mailing List
http://openwall.com/lists/oss-security/2012/09/05/15
Mailing List
http://openwall.com/lists/oss-security/2012/09/07/3
More from PHP
9.8
CVE-2026-109618
RCE via OOM corruption
9.8
CVE-2024-4577
Argument Injection in PHP-CGI
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2016-10033
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute…
9.8
CVE-2012-1823
PHP-CGI Query String Parameter Vulnerability
