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.
Published: 2012-09-07
Score: 4.3 Medium
EPSS: 2.2% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

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

No history.

Subscriptions

Canonical Ubuntu Linux
Debian Debian Linux
Php Php
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2024-08-06T20:35:09.222Z

Reserved: 2012-08-21T00:00:00.000Z

Link: CVE-2012-4388

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2012-09-07T22:55:02.883

Modified: 2026-04-29T01:13:23.040

Link: CVE-2012-4388

cve-icon Redhat

Severity : Moderate

Publid Date: 2012-09-02T00:00:00Z

Links: CVE-2012-4388 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses