CVE-2012-4388
Last modified
CVE-2012-4388 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 4.23% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Php | Php | >= 5.3.0, < 5.3.11 | — |
| Php | Php | 5.4.0 | Rc2 |
| Canonical | Ubuntu Linux | 8.04 | — |
| Canonical | Ubuntu Linux | 10.04 | — |
| Canonical | Ubuntu Linux | 11.04 | — |
| Canonical | Ubuntu Linux | 11.10 | — |
| Canonical | Ubuntu Linux | 12.04 | — |
| Debian | Debian Linux | 6.0 | — |
References
- http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.htmlMailing List, Third Party Advisory
- http://openwall.com/lists/oss-security/2012/08/29/5Mailing List, Third Party Advisory
- http://openwall.com/lists/oss-security/2012/09/02/1Mailing List, Third Party Advisory
- http://openwall.com/lists/oss-security/2012/09/05/15Mailing List, Third Party Advisory
- http://openwall.com/lists/oss-security/2012/09/07/3Mailing List, Third 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=323985&pathrev=323986Exploit, Patch, Vendor Advisory
- http://www.securitytracker.com/id?1027463Third Party Advisory, VDB Entry
- http://www.ubuntu.com/usn/USN-1569-1Third Party Advisory
- https://bugs.php.net/bug.php?id=60227Vendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.htmlMailing List, Third Party Advisory
- http://openwall.com/lists/oss-security/2012/08/29/5Mailing List, Third Party Advisory
- http://openwall.com/lists/oss-security/2012/09/02/1Mailing List, Third Party Advisory
- http://openwall.com/lists/oss-security/2012/09/05/15Mailing List, Third Party Advisory
- http://openwall.com/lists/oss-security/2012/09/07/3Mailing List, Third 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=323985&pathrev=323986Exploit, Patch, Vendor Advisory
- http://www.securitytracker.com/id?1027463Third Party Advisory, VDB Entry
- http://www.ubuntu.com/usn/USN-1569-1Third Party Advisory
- https://bugs.php.net/bug.php?id=60227Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2012-4388?
How severe is CVE-2012-4388?
How do I fix CVE-2012-4388?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2012
- CVE-2012-4382MediaWiki before 1.18.5, and 1.19.x before 1.19.2 does not p…
- CVE-2012-4383contao prior to 2.11.4 has a sql injection vulnerability8.8
- CVE-2012-4384letodms has multiple XSS issues: Reflected XSS in Login Page…6.1
- CVE-2012-4385letodms 3.3.6 has CSRF via change password6.5
- CVE-2012-4386The token check mechanism in Apache Struts 2.0.0 through 2.3…
- CVE-2012-4387Apache Struts 2.0.0 through 2.3.4 allows remote attackers to…
- CVE-2012-4389Incomplete blacklist vulnerability in lib/migrate.php in own…
- CVE-2012-4390(1) apps/calendar/appinfo/remote.php and (2) apps/contacts/a…
- CVE-2012-4391Cross-site request forgery (CSRF) vulnerability in core/ajax…
- CVE-2012-4392index.php in ownCloud 4.0.7 does not properly validate the o…
- CVE-2012-4393Multiple cross-site request forgery (CSRF) vulnerabilities i…
- CVE-2012-4394Cross-site scripting (XSS) vulnerability in apps/files/js/fi…
Are you affected by CVE-2012-4388?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
