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....
MediumCVSS 4.3
EPSS 10.2%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
Description
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | <= 5.3.10 | No fix listed |
| PHP | = 5.3.0 | No fix listed |
| PHP | = 5.3.1 | No fix listed |
| PHP | = 5.3.2 | No fix listed |
| PHP | = 5.3.3 | No fix listed |
| PHP | = 5.3.4 | No fix listed |
| PHP | = 5.3.5 | No fix listed |
| PHP | = 5.3.6 | No fix listed |
| PHP | = 5.3.7 | No fix listed |
| PHP | = 5.3.8 | No fix listed |
| PHP | = 5.3.9 | No fix listed |
References
- [internals] 20120203 [PHP-DEV] The case of HTTP response splitting protection in PHP mailing-list
- SUSE-SU-2013:1315 vendor-advisory
- [oss-security] 20120829 php header() header injection detection bypass mailing-list
- [oss-security] 20120905 Re: php header() header injection detection bypass mailing-list
- RHSA-2013:1307 vendor-advisory
- 55078 third-party-advisory
- security-tracker.debian.org
- 1027463 vdb-entry
- USN-1569-1 vendor-advisory
- bugs.php.net