CVE-2011-1398

PHP: sapi_header_op() %0D sequence handling security bypass

Published Aug 30, 2012 CVSS 2.0 · 4.3 Medium EPSS 10.2% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2011-1405 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.
Ubuntu USN Ubuntu USN USN-1569-1 PHP vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 6, 2024, 10:28 PM
Reserved
Mar 10, 2011, 12:00 AM
Status
Modified
Published
Aug 30, 2012, 10:55 PM
Modified
Jun 16, 2026, 11:29 PM
Severity
Moderate
Public date
Nov 6, 2011, 12:00 AM