CVE-2004-0959 File upload in n/a

Low 2.1 Published Updated

Local attackers can upload files to arbitrary locations via crafted MIME headers in PHP scripts, potentially leading to code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2004-0959?

CVE-2004-0959 is a low-severity vulnerability in Php Php, published on 16 Oct 2004. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

rfc1867.c in PHP before 5.0.2 allows local users to upload files to arbitrary locations via a PHP script with a certain MIME header that causes the "$_FILES" array to be modified.

Which versions are affected by CVE-2004-0959?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2004-0959?

Upgrade to a fixed version.

Is CVE-2004-0959 being exploited?

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

All Php Php vulnerabilities

Sources

Also known as GHSA-276j-rjhh-4rwm.

Is CVE-2004-0959 in your software?

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

Check your SBOMs for free