CVEvulnerability

CVE-2011-1398

4.3 MEDIUM Published 2012-08-30 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2012-08-30
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 before 5.3.11 and 5.4.x before 5.4.0RC2 does not check 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.

Affected configurations

• php php (<= 5.3.10) • php php 5.3.0 • php php 5.3.1 • php php 5.3.2 • php php 5.3.3 • php php 5.3.4 • php php 5.3.5 • php php 5.3.6 • php php 5.3.7 • php php 5.3.8 • php php 5.3.9

Related

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References