CVE-2015-8935 Cross-site scripting in n/a
Remote attackers can execute arbitrary scripts in Internet Explorer via header injection in PHP's header function.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2015-8935?
CVE-2015-8935 is a medium-severity cross-site scripting vulnerability in Php Php, published on 7 Aug 2016. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The sapi_header_op function in main/SAPI.c in PHP before 5.4.38, 5.5.x before 5.5.22, and 5.6.x before 5.6.6 supports deprecated line folding without considering browser compatibility, which allows remote attackers to conduct cross-site scripting (XSS) attacks against Internet Explorer by leveraging (1) %0A%20 or (2) %0D%0A%20 mishandling in the header function.
Weakness: CWE-79
Which versions are affected by CVE-2015-8935?
It affects 1 product.
Products include Php Php.
How do I fix CVE-2015-8935?
Upgrade to a fixed version.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2015-8935 being exploited?
There is no known exploitation of CVE-2015-8935 in the wild and no public exploit code.
Other vulnerabilities in Php Php
Sources
Also known as GHSA-xghf-rfpw-9v3h, UBUNTU-CVE-2015-8935.