CVE-2011-1398: Input Validation
The sapiheaderop 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
Event History
Frequently Asked Questions
What is the severity of CVE-2011-1398?
CVE-2011-1398 has a medium severity level due to its potential to enable HTTP response-splitting attacks.
How do I fix CVE-2011-1398?
To fix CVE-2011-1398, upgrade PHP to version 5.3.11 or higher, or 5.4.0RC2 or higher.
Which versions of PHP are affected by CVE-2011-1398?
CVE-2011-1398 affects PHP versions prior to 5.3.11 and all versions of the 5.4.x branch before 5.4.0RC2.
What are the implications of CVE-2011-1398?
The implications of CVE-2011-1398 include the risk of remote attackers exploiting the vulnerability to manipulate HTTP headers.
Is there a workaround for CVE-2011-1398 if I cannot upgrade PHP?
There are no effective workarounds for CVE-2011-1398; upgrading PHP is the recommended solution.