CVEvulnerability

CVE-2012-4388

4.3 MEDIUM Published 2012-09-07 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2012-09-07
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
Weaknesses
CWE-20

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.

Affected configurations

• php php (>= 5.3.0 < 5.3.11) • php php 5.4.0 • 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

Related

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References