CVE-2015-4025 Path traversal in n/a

High 7.5 Published Updated

Remote attackers can bypass extension restrictions and access unexpected files or directories by exploiting null byte truncation in specific PHP functions.

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-4025?

CVE-2015-4025 is a high-severity path traversal vulnerability in Apple Mac Os X, published on 9 Jun 2015. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

PHP before 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9 truncates a pathname upon encountering a \x00 character in certain situations, which allows remote attackers to bypass intended extension restrictions and access files or directories with unexpected names via a crafted argument to (1) set_include_path, (2) tempnam, (3) rmdir, or (4) readlink. NOTE: this vulnerability exists because of an incomplete fix for CVE-2006-7243.

Weakness: CWE-19

Which versions are affected by CVE-2015-4025?

It affects 9 products.

Products include Apple Mac Os X, Php Php, Redhat Enterprise Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Hpc Node, Redhat Enterprise Linux Hpc Node Eus and 3 more.

How do I fix CVE-2015-4025?

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-4025 being exploited?

There is no known exploitation of CVE-2015-4025 in the wild and no public exploit code.

All Apple Mac Os X vulnerabilities

Sources

Also known as GHSA-8472-42qg-pj78, UBUNTU-CVE-2015-4025.

Is CVE-2015-4025 in your software?

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

Check your SBOMs for free