CVE-2011-1398 Other in n/a

Medium 4.3 Published Updated

Remote attackers can bypass HTTP response-splitting protections in PHP via crafted URLs, potentially affecting browser interactions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2011-1398?

CVE-2011-1398 is a medium-severity vulnerability in Php Php, published on 30 Aug 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-20

Which versions are affected by CVE-2011-1398?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2011-1398?

Upgrade to a fixed version.

Is CVE-2011-1398 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2011-1398 exists.

Public exploit code: 1 Exploit-DB entry.

All Php Php vulnerabilities

Sources

Also known as GHSA-g6fq-45x6-cmh4.

Is CVE-2011-1398 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free