CVE-2004-0959: 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…
Noroxi assessment
Priority: Monitor (action score 8/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.57% (FIRST EPSS).
- No special conditions are required; it is repeatable.
- Fixed version: php (Red Hat:enterprise_linux:3::as) 0:4.3.2-19.ent; php-debuginfo (Red Hat:enterprise_linux:3::as) 0:4.3.2-19.ent; php-devel (Red Hat:enterprise_linux:3::as) 0:4.3.2-19.ent.
Low priority for now. Upgrade to php (Red Hat:enterprise_linux:3::as) 0:4.3.2-19.ent; php-debuginfo (Red Hat:enterprise_linux:3::as) 0:4.3.2-19.ent; php-devel (Red Hat:enterprise_linux:3::as) 0:4.3.2-19.ent or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Nov 3, 2004
- Updated
- Jun 16, 2026
- EPSS
- 0.5% · 48th percentile
- CWE
- —
Report tools
Action score
8
Low priority for now.
- CVSS
- 8 / 40 · 2.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.5%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| php | php | cpe:2.3:a:php:php |
Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- php phpup to 5.0.2 inclusive
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Red Hat:enterprise_linux:3::as | php | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
| Red Hat:enterprise_linux:3::as | php-debuginfo | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
| Red Hat:enterprise_linux:3::as | php-devel | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
| Red Hat:enterprise_linux:3::as | php-imap | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
| Red Hat:enterprise_linux:3::as | php-ldap | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
| Red Hat:enterprise_linux:3::as | php-mysql | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
| Red Hat:enterprise_linux:3::as | php-odbc | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
| Red Hat:enterprise_linux:3::as | php-pgsql | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
Same product
php: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-4577Argument Injection in PHP-CGIKEV99Now
- CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV99Now
- CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle…KEV99Now
Published before and after this one in the same product
- ← EarlierCVE-2004-0542Aug 6, 2004 · PHP before 4.3.7 on Win32 platforms does not properly filter all shell metacharacters, which allows local or remote attackers to execute…49Plan
- ← EarlierCVE-2004-0958Nov 3, 2004 · php_variables.c in PHP before 5.0.2 allows remote attackers to read sensitive memory contents via (1) GET, (2) POST, or (3) COOKIE GPC…23Monitor
- Later →CVE-2004-1392Dec 31, 2004 · PHP 4.0 with cURL functions allows remote attackers to bypass the open_basedir setting and read arbitrary files via a file: URL argument to…23Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| red hat:php | 0:4.3.2-19.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-debuginfo | 0:4.3.2-19.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-devel | 0:4.3.2-19.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-imap | 0:4.3.2-19.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-ldap | 0:4.3.2-19.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-mysql | 0:4.3.2-19.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-odbc | 0:4.3.2-19.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-pgsql | 0:4.3.2-19.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- P · data or configuration can be modified
- Availability
- none
- Attack complexity
- Low
- Confidentiality impact
- None
- Integrity impact
- P
- Availability impact
- None
Weakness class (CWE)
—
CVSS vector
AV:L/AC:L/Au:N/C:N/I:P/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- marc.info/?l=bugtraq&m=109534848430404&w=2
- secunia.com/advisories/12560/
- securitytracker.com/id?1011307
- www.redhat.com/support/errata/RHSA-2004-687.html
- bugzilla.fedora.us/show_bug.cgi?id=2344
- exchange.xforce.ibmcloud.com/vulnerabilities/17392
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10961
Vendor advisories and official records. Exploit/PoC links are deliberately left out.