Security mailing lists by PureSourceCode

CVE-2012-4388

MEDIUM 4.3CVSS 2.0

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
7 Sep 2012
Last modified
16 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-20
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 5.3.0, < 5.3.11 5.3.11
NVD php php
cpe:2.3:a:php:php:5.4.0:rc2:*:*:*:*:*:*
= 5.4.0
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:-:*:*:*
= 8.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:-:*:*:*
= 10.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:11.04:*:*:*:*:*:*:*
= 11.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:11.10:*:*:*:*:*:*:*
= 11.10
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*
= 12.04
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:*
= 6.0

References

History

  • 25 Nov 2026 20:17 UTC · NVD: first stored (published 7 Sep 2012)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.