Input validation error in PHP - CVE-2011-1398

 

Input validation error in PHP - CVE-2011-1398

Published: August 31, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU43654
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2011-1398
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to manipulate data.

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.


Affected software

PHP
Gentoo Linux
SUSE Linux

How to mitigate CVE-2011-1398

Install update from vendor's website.


Links to Public Exploits and PoC-codes

External References

Related Security Bulletins