Live threats

All CVEs / Php

CVE-2012-4388Php

Medium 4.3 No auth needed

Priority
41
CVSS 2.0
4.3
EPSS
4.2%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Sep 7, 2012
Updated
Jun 16, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-20
Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp≥ 5.3.0 < 5.3.11
phpphp5.4.0
canonicalubuntu_linux8.04
canonicalubuntu_linux10.04
canonicalubuntu_linux11.04
canonicalubuntu_linux11.10
canonicalubuntu_linux12.04
debiandebian_linux6.0

Official sources

References

Links published by the sources. Open them with care.