Input validation error in PHP



| Updated: 2020-08-11
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2012-4388
CWE-ID CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
PHP
Universal components / Libraries / Scripting languages

Vendor PHP Group

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Input validation error

EUVDB-ID: #VU43610

Risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2012-4388

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote non-authenticated attacker to manipulate data.

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.

Mitigation

Install update from vendor's website.

Vulnerable software versions

PHP: 5.4.0

CPE2.3 External links

https://article.gmane.org/gmane.comp.php.devel/70584
https://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html
https://openwall.com/lists/oss-security/2012/08/29/5
https://openwall.com/lists/oss-security/2012/09/02/1
https://openwall.com/lists/oss-security/2012/09/05/15
https://openwall.com/lists/oss-security/2012/09/07/3
https://security-tracker.debian.org/tracker/CVE-2012-4388
https://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/main/SAPI.c?r1=323986&r2=323985&pathrev=323986
https://www.securitytracker.com/id?1027463
https://www.ubuntu.com/usn/USN-1569-1
https://bugs.php.net/bug.php?id=60227


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###