CVE-2015-3411 Path traversal in n/a
Remote attackers can read or write arbitrary files by exploiting null byte injection in PHP file handling functions, bypassing intended file type restrictions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2015-3411?
CVE-2015-3411 is a medium-severity path traversal vulnerability in Php Php, published on 16 May 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8 does not ensure that pathnames lack %00 sequences, which might allow remote attackers to read or write to arbitrary files via crafted input to an application that calls (1) a DOMDocument load method, (2) the xmlwriter_open_uri function, (3) the finfo_file function, or (4) the hash_hmac_file function, as demonstrated by a filename\0.xml attack that bypasses an intended configuration in which client users may read only .xml files.
Weakness: CWE-20
Which versions are affected by CVE-2015-3411?
It affects 8 products.
Products include Php Php, Redhat Enterprise Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Hpc Node, Redhat Enterprise Linux Hpc Node Eus, Redhat Enterprise Linux Server and 2 more.
How do I fix CVE-2015-3411?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2015-3411 being exploited?
There is no known exploitation of CVE-2015-3411 in the wild and no public exploit code.
Other vulnerabilities in Php Php
Sources
Also known as GHSA-4gf4-5fpq-6cwc, UBUNTU-CVE-2015-3411.