CVE-2015-6833 Path traversal in n/a

High 7.5 Published Updated

Remote attackers can write arbitrary files via directory traversal in PHP's PharData extractTo function, requiring an upgrade to patched versions.

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

CVE-2015-6833 is a high-severity path traversal vulnerability in Php Php, published on 19 Jan 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Directory traversal vulnerability in the PharData class in PHP before 5.4.44, 5.5.x before 5.5.28, and 5.6.x before 5.6.12 allows remote attackers to write to arbitrary files via a .. (dot dot) in a ZIP archive entry that is mishandled during an extractTo call.

Weakness: CWE-22

Which versions are affected by CVE-2015-6833?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2015-6833?

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

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

All Php Php vulnerabilities

Sources

Also known as GHSA-xc3w-p3px-qhrc, UBUNTU-CVE-2015-6833.

Is CVE-2015-6833 in your software?

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

Check your SBOMs for free