Improper input validation in PHP
CVE-2011-1398
The sapi_header_op function in main/SAPI.c in PHP before 5.3.11 and 5.4.x before 5.4.0RC2 does not check 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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.102, 95.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 5.3.0, 5.3.1, 5.3.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (Live-Hack-CVE/CVE-2012-4388). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- [oss-security] 20120905 Re: php header() header injection detection bypass (mailing-list)
- security-tracker.debian.org/tracker/CVE-2011-1398
- www.securitytracker.com/id (vdb-entry)
- secunia.com/advisories/55078 (third-party-advisory)
- bugs.php.net/bug.php
- RHSA-2013:1307 (vendor-advisory)
- [oss-security] 20120829 php header() header injection detection bypass (mailing-list)
- SUSE-SU-2013:1315 (vendor-advisory)
- [internals] 20120203 [PHP-DEV] The case of HTTP response splitting protection in PHP (mailing-list)
- USN-1569-1 (vendor-advisory)