CVE-2011-1398
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 10.2% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 10.2% in the next 30 days (EPSS).
- Severity: 4.3 MEDIUM (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 10.2% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- PHP ≤ 5.3.10
- PHP 5.3.0
- PHP 5.3.1
- PHP 5.3.2
- PHP 5.3.3
- PHP 5.3.4
- PHP 5.3.5
- PHP 5.3.6
Attack profile CVSS 2.0 · 4.3
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
Raw vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2011-1398.md and follow it. Check whether this project is affected by CVE-2011-1398. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- http://article.gmane.org/gmane.comp.php.devel/70584
- http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html
- http://openwall.com/lists/oss-security/2012/08/29/5
- http://openwall.com/lists/oss-security/2012/09/05/15
- http://rhn.redhat.com/errata/RHSA-2013-1307.html
- http://secunia.com/advisories/55078
- http://security-tracker.debian.org/tracker/CVE-2011-1398
- http://www.securitytracker.com/id?1027463
- http://www.ubuntu.com/usn/USN-1569-1
- https://bugs.php.net/bug.php?id=60227
- http://article.gmane.org/gmane.comp.php.devel/70584
- http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html
- http://openwall.com/lists/oss-security/2012/08/29/5
- http://openwall.com/lists/oss-security/2012/09/05/15
- http://rhn.redhat.com/errata/RHSA-2013-1307.html
- http://secunia.com/advisories/55078
- http://security-tracker.debian.org/tracker/CVE-2011-1398
- http://www.securitytracker.com/id?1027463
- http://www.ubuntu.com/usn/USN-1569-1
- https://bugs.php.net/bug.php?id=60227