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
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
- http://archives.neohapsis.com/archives/vulnwatch/2004-q3/0054.html
- http://marc.info/?l=bugtraq&m=109534848430404&w=2
- http://secunia.com/advisories/12560/
- http://securitytracker.com/id?1011307
- http://www.redhat.com/support/errata/RHSA-2004-687.html
- https://bugzilla.fedora.us/show_bug.cgi?id=2344
- https://exchange.xforce.ibmcloud.com/vulnerabilities/17392
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10961