CVE-2012-4388
PHP SAPI HTTP Response Splitting 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.
INFO
Published Date :
Sept. 7, 2012, 10:55 p.m.
Last Modified :
Nov. 7, 2023, 2:11 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
2.9
Exploitability Score :
8.6
Affected Products
The following products are affected by CVE-2012-4388
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2012-4388
.
URL | Resource |
---|---|
http://article.gmane.org/gmane.comp.php.devel/70584 | Broken Link |
http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html | Mailing List Third Party Advisory |
http://openwall.com/lists/oss-security/2012/08/29/5 | Mailing List Third Party Advisory |
http://openwall.com/lists/oss-security/2012/09/02/1 | Mailing List Third Party Advisory |
http://openwall.com/lists/oss-security/2012/09/05/15 | Mailing List Third Party Advisory |
http://openwall.com/lists/oss-security/2012/09/07/3 | Mailing List Third Party Advisory |
http://security-tracker.debian.org/tracker/CVE-2012-4388 | Third Party Advisory |
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/main/SAPI.c?r1=323986&r2=323985&pathrev=323986 | Exploit Patch Vendor Advisory |
http://www.securitytracker.com/id?1027463 | Third Party Advisory VDB Entry |
http://www.ubuntu.com/usn/USN-1569-1 | Third Party Advisory |
https://bugs.php.net/bug.php?id=60227 | Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2012-4388
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2012-4388
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Changed 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. 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. -
CVE Modified by [email protected]
Feb. 13, 2023
Action Type Old Value New Value Changed 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. 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. -
Modified Analysis by [email protected]
Jan. 19, 2023
Action Type Old Value New Value Changed Reference Type http://article.gmane.org/gmane.comp.php.devel/70584 No Types Assigned http://article.gmane.org/gmane.comp.php.devel/70584 Broken Link Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html Mailing List, Third Party Advisory Changed Reference Type http://openwall.com/lists/oss-security/2012/08/29/5 No Types Assigned http://openwall.com/lists/oss-security/2012/08/29/5 Mailing List, Third Party Advisory Changed Reference Type http://openwall.com/lists/oss-security/2012/09/02/1 No Types Assigned http://openwall.com/lists/oss-security/2012/09/02/1 Mailing List, Third Party Advisory Changed Reference Type http://openwall.com/lists/oss-security/2012/09/05/15 No Types Assigned http://openwall.com/lists/oss-security/2012/09/05/15 Mailing List, Third Party Advisory Changed Reference Type http://openwall.com/lists/oss-security/2012/09/07/3 No Types Assigned http://openwall.com/lists/oss-security/2012/09/07/3 Mailing List, Third Party Advisory Changed Reference Type http://security-tracker.debian.org/tracker/CVE-2012-4388 No Types Assigned http://security-tracker.debian.org/tracker/CVE-2012-4388 Third Party Advisory Changed Reference Type http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/main/SAPI.c?r1=323986&r2=323985&pathrev=323986 Exploit, Patch http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/main/SAPI.c?r1=323986&r2=323985&pathrev=323986 Exploit, Patch, Vendor Advisory Changed Reference Type http://www.securitytracker.com/id?1027463 No Types Assigned http://www.securitytracker.com/id?1027463 Third Party Advisory, VDB Entry Changed Reference Type http://www.ubuntu.com/usn/USN-1569-1 No Types Assigned http://www.ubuntu.com/usn/USN-1569-1 Third Party Advisory Changed Reference Type https://bugs.php.net/bug.php?id=60227 No Types Assigned https://bugs.php.net/bug.php?id=60227 Vendor Advisory Changed CPE Configuration OR *cpe:2.3:a:php:php:5.4.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.4.0:rc2:*:*:*:*:*:* OR *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 5.3.0 up to (excluding) 5.3.11 *cpe:2.3:a:php:php:5.4.0:rc2:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:-:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:-:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:11.04:*:*:*:*:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:11.10:*:*:*:*:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:* -
Initial Analysis by [email protected]
Sep. 10, 2012
Action Type Old Value New Value
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2012-4388
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2012-4388
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.15 }} -0.05%
score
0.49863
percentile