Input validation error in PHP - CVE-2004-0959

 

Input validation error in PHP - CVE-2004-0959

Published: October 11, 2017 / Updated: June 8, 2025


Vulnerability identifier: #VU110520
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2004-0959
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: PHP Group
Affected software:
PHP

Detailed vulnerability description

The vulnerability allows a local user to corrupt data.

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.


How to mitigate CVE-2004-0959

Install update from vendor's website.

Sources