Back
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…
Medium4.3EPSS 10.2%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
- EPSS (exploitation in 30 days)
- 10.2% · top 4.3% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.3.
Weakness
Affected products
n/a
- affected n/a
References (10)
- [oss-security] 20120905 Re: php header() header injection detection bypass (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://security-tracker.debian.org/tracker/CVE-2011-1398 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 1027463 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- 55078 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- https://bugs.php.net/bug.php?id=60227 (opens in a new tab)x_refsource_MISCx_transferred
- RHSA-2013:1307 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- [oss-security] 20120829 php header() header injection detection bypass (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- SUSE-SU-2013:1315 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- [internals] 20120203 [PHP-DEV] The case of HTTP response splitting protection in PHP (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- USN-1569-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .