Vulnerability Description
The sapi_header_op function in main/SAPI.c in PHP 5.4.0RC2 through 5.4.0 does not properly determine a pointer during checks 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. NOTE: this vulnerability exists because of an incorrect fix for CVE-2011-1398.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | >= 5.3.0, < 5.3.11 |
| Canonical | Ubuntu Linux | 8.04 |
| Debian | Debian Linux | 6.0 |
Related Weaknesses (CWE)
References
- http://article.gmane.org/gmane.comp.php.devel/70584Broken Link
- http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.htmlMailing ListThird Party Advisory
- http://openwall.com/lists/oss-security/2012/08/29/5Mailing ListThird Party Advisory
- http://openwall.com/lists/oss-security/2012/09/02/1Mailing ListThird Party Advisory
- http://openwall.com/lists/oss-security/2012/09/05/15Mailing ListThird Party Advisory
- http://openwall.com/lists/oss-security/2012/09/07/3Mailing ListThird Party Advisory
- http://security-tracker.debian.org/tracker/CVE-2012-4388Third Party Advisory
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/main/SAPI.c?r1=323986&r2=ExploitPatchVendor Advisory
- http://www.securitytracker.com/id?1027463Third Party AdvisoryVDB Entry
- http://www.ubuntu.com/usn/USN-1569-1Third Party Advisory
- https://bugs.php.net/bug.php?id=60227Vendor Advisory
- http://article.gmane.org/gmane.comp.php.devel/70584Broken Link
- http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.htmlMailing ListThird Party Advisory
- http://openwall.com/lists/oss-security/2012/08/29/5Mailing ListThird Party Advisory
- http://openwall.com/lists/oss-security/2012/09/02/1Mailing ListThird Party Advisory
FAQ
What is CVE-2012-4388?
CVE-2012-4388 is a vulnerability with a CVSS score of 4.3 (MEDIUM). The sapi_header_op function in main/SAPI.c in PHP 5.4.0RC2 through 5.4.0 does not properly determine a pointer during checks for %0D sequences (aka carriage return characters), which allows remote att...
How severe is CVE-2012-4388?
CVE-2012-4388 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2012-4388?
Check the references section above for vendor advisories and patch information. Affected products include: Php Php, Canonical Ubuntu Linux, Debian Debian Linux.