Improper input validation in PHP

CVE-2011-1398

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.

Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)

Published · last modified .

CVSS v2 metric

CVSS v2 base score 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS 0.102, 95.7th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • PHP — versions 5.3.0, 5.3.1, 5.3.2

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 1 other repository (Live-Hack-CVE/CVE-2012-4388). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References