Vulnerability Details : 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 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.
Vulnerability category: Input validation
Products affected by CVE-2012-4388
- cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.4.0:rc2:*:*:*:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:-:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:-:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:11.04:*:*:*:*:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:11.10:*:*:*:*:*:*:*
Threat overview for CVE-2012-4388
Top countries where our scanners detected CVE-2012-4388
Top open port discovered on systems with this issue
80
IPs affected by CVE-2012-4388 36,249
Threat actors abusing to this issue?
Yes
Find out if you* are
affected by CVE-2012-4388!
*Directly or indirectly through your vendors, service providers and 3rd parties.
Powered by
attack surface intelligence
from SecurityScorecard.
Exploit prediction scoring system (EPSS) score for CVE-2012-4388
0.15%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 51 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2012-4388
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:P/A:N |
8.6
|
2.9
|
NIST |
CWE ids for CVE-2012-4388
-
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.Assigned by: nvd@nist.gov (Primary)
References for CVE-2012-4388
-
http://www.securitytracker.com/id?1027463
PHP HTTP Response Splitting Header Injection Protection Can Be Bypassed Using Carriage Return Characters - SecurityTrackerThird Party Advisory;VDB Entry
-
http://article.gmane.org/gmane.comp.php.devel/70584
Broken Link
-
http://openwall.com/lists/oss-security/2012/09/07/3
oss-security - Re: Re: php header() header injection detection bypassMailing List;Third Party Advisory
-
http://openwall.com/lists/oss-security/2012/09/05/15
oss-security - Re: php header() header injection detection bypassMailing List;Third Party Advisory
-
http://openwall.com/lists/oss-security/2012/09/02/1
oss-security - Re: php header() header injection detection bypassMailing List;Third Party Advisory
-
http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html
[security-announce] SUSE-SU-2013:1315-1: important: Security update forMailing List;Third Party Advisory
-
https://bugs.php.net/bug.php?id=60227
PHP :: Bug #60227 :: header() cannot detect the multi-line header with CR(0x0D).Vendor Advisory
-
http://www.ubuntu.com/usn/USN-1569-1
USN-1569-1: PHP vulnerabilities | Ubuntu security noticesThird Party Advisory
-
http://openwall.com/lists/oss-security/2012/08/29/5
oss-security - php header() header injection detection bypassMailing List;Third Party Advisory
-
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/main/SAPI.c?r1=323986&r2=323985&pathrev=323986
PHP: Diff of /php/php-src/branches/PHP_5_4/main/SAPI.cExploit;Patch;Vendor Advisory
-
http://security-tracker.debian.org/tracker/CVE-2012-4388
CVE-2012-4388Third Party Advisory
Jump to