{"id":"CVE-2012-4388","published":"2012-09-07T22:00:00Z","modified":"2024-08-06T20:35:09Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.04225,"percentile":0.91237,"provenance":"source"},"cwes":[],"references":[{"url":"http://security-tracker.debian.org/tracker/CVE-2012-4388","tags":["x_refsource_CONFIRM"]},{"url":"http://openwall.com/lists/oss-security/2012/09/05/15","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securitytracker.com/id?1027463","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://openwall.com/lists/oss-security/2012/09/07/3","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/main/SAPI.c?r1=323986&r2=323985&pathrev=323986","tags":["x_refsource_CONFIRM"]},{"url":"https://bugs.php.net/bug.php?id=60227","tags":["x_refsource_MISC"]},{"url":"http://openwall.com/lists/oss-security/2012/08/29/5","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://openwall.com/lists/oss-security/2012/09/02/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://article.gmane.org/gmane.comp.php.devel/70584","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.ubuntu.com/usn/USN-1569-1","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"priority":{"score":18.2,"factors":[{"name":"EPSS percentile","points":18.25}]},"summary":{"text":"The flaw is in the sapi_header_op function in main/SAPI.c of PHP 5.4.0RC2 through 5.4.0, where a pointer is not properly determined when checking for %0D (carriage return) sequences, weakening the header-injection protection. A remote attacker can exploit it by supplying a crafted URL, with no authentication indicated, to bypass the HTTP response-splitting protection, with the effect depending on how certain browsers, such as Internet Explorer and Google Chrome, interpret the response.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:19:03Z"},"euvd":{"id":"EUVD-2012-4328","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2011-1398-family-cve-2011-1398","parents":[{"from":"CVE-2011-1398","to":"CVE-2012-4388","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"NOTE: this vulnerability exists because of an incorrect fix for CVE-2011-1398.","from":"CVE.org","in":"CVE-2012-4388"}]}]}}