CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register   Reset Password   Activate Account
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2012-4388

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.
Publish Date : 2012-09-07 Last Update Date : 2013-09-11
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
4.3
Confidentiality Impact None (There is no impact to the confidentiality of the system.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact None (There is no impact to the availability of the system.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Http response splittingBypass a restriction or similar
CWE ID 20

- Related OVAL Definitions

Title Definition Id Class Family
SUSE-SU-2013:1315-1 -- Security update for PHP5 oval:org.mitre.oval:def:25781 unix
USN-1569-1 -- php5 vulnerabilities oval:org.mitre.oval:def:17978 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2012-4388

# Product Type Vendor Product Version Update Edition Language
1 Application PHP PHP 5.4.0 RC2 Version Details Vulnerabilities
2 Application PHP PHP 5.4.0 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
PHP PHP 2

- References For CVE-2012-4388

http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/main/SAPI.c?r1=323986&r2=323985&pathrev=323986 CONFIRM
http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html
SUSE SUSE-SU-2013:1315
http://article.gmane.org/gmane.comp.php.devel/70584
MLIST [internals] 20120203 [PHP-DEV] The case of HTTP response splitting protection in PHP
http://openwall.com/lists/oss-security/2012/08/29/5
MLIST [oss-security] 20120829 php header() header injection detection bypass
http://www.ubuntu.com/usn/USN-1569-1
UBUNTU USN-1569-1
http://www.securitytracker.com/id?1027463
SECTRACK 1027463
http://security-tracker.debian.org/tracker/CVE-2012-4388 CONFIRM
http://openwall.com/lists/oss-security/2012/09/07/3
MLIST [oss-security] 20120906 Re: Re: php header() header injection detection bypass
http://openwall.com/lists/oss-security/2012/09/05/15
MLIST [oss-security] 20120905 Re: php header() header injection detection bypass
http://openwall.com/lists/oss-security/2012/09/02/1
MLIST [oss-security] 20120901 Re: php header() header injection detection bypass
https://bugs.php.net/bug.php?id=60227

- Metasploit Modules Related To CVE-2012-4388

There are not any metasploit modules related to this vulnerability (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.