CVE-2004-0959
rfc1867.c in PHP before 5.0.2 allows local users to upload files to arbitrary locations via a PHP...
CVE-2004-0959 is a low vulnerability (CVSS 2.1) in Php, published October 16, 2004. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.58%, the 48th percentile. No source names a fixed version.
- Severity
- 2.1 LowCVSS 2.0, NVD
- Exploit chance
- 0.58%EPSS, 48th percentile
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
- No fix listedNo source names one
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.
Exploit likelihood
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
phpRed Hat:enterprise_linux:3::as From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-debuginfoRed Hat:enterprise_linux:3::as From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-develRed Hat:enterprise_linux:3::as From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-imapRed Hat:enterprise_linux:3::as From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-ldapRed Hat:enterprise_linux:3::as From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-mysqlRed Hat:enterprise_linux:3::as From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-odbcRed Hat:enterprise_linux:3::as From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-pgsqlRed Hat:enterprise_linux:3::as From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
phpRed Hat:enterprise_linux:3::desktop From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-debuginfoRed Hat:enterprise_linux:3::desktop From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
Show 22 moreShow less
| Package | Affected | Fixed |
|---|---|---|
php-develRed Hat:enterprise_linux:3::desktop From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-imapRed Hat:enterprise_linux:3::desktop From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-ldapRed Hat:enterprise_linux:3::desktop From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-mysqlRed Hat:enterprise_linux:3::desktop From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-odbcRed Hat:enterprise_linux:3::desktop From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-pgsqlRed Hat:enterprise_linux:3::desktop From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
phpRed Hat:enterprise_linux:3::es From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-debuginfoRed Hat:enterprise_linux:3::es From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-develRed Hat:enterprise_linux:3::es From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-imapRed Hat:enterprise_linux:3::es From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-ldapRed Hat:enterprise_linux:3::es From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-mysqlRed Hat:enterprise_linux:3::es From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-odbcRed Hat:enterprise_linux:3::es From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-pgsqlRed Hat:enterprise_linux:3::es From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
phpRed Hat:enterprise_linux:3::ws From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-debuginfoRed Hat:enterprise_linux:3::ws From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-develRed Hat:enterprise_linux:3::ws From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-imapRed Hat:enterprise_linux:3::ws From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-ldapRed Hat:enterprise_linux:3::ws From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-mysqlRed Hat:enterprise_linux:3::ws From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-odbcRed Hat:enterprise_linux:3::ws From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
php-pgsqlRed Hat:enterprise_linux:3::ws From an advisory covering 5 CVEs | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
What each source reports
NVD Score used 2.1
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.
- Record
CVE-2004-0959- CVSS 2.0
- 2.1 Low
AV:L/AC:L/Au:N/C:N/I:P/A:N - Updated
- 2026-11-02
CVE ListNo score
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.
- Record
CVE-2004-0959- Updated
- 2026-11-02
EUVDEUVD-2004-0957No score
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.
- Record
EUVD-2004-0957- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-276j-rjhh-4rwmNo score
rfc1867.c in PHP before 5.0.2 allows local users to upload files to arbitrary locations via a PHP...
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.
- Record
GHSA-276j-rjhh-4rwm- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
References
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10961
exchange.xforce.ibmcloud.com/vulnerabilities/17392
securitytracker.com/id?1011307
secunia.com/advisories/12560
marc.info?l=bugtraq&m=109534848430404&w=2
bugzilla.fedora.us/show_bug.cgi?id=2344
Show 33 moreShow less
archives.neohapsis.com/archives/vulnwatch/2004-q3/0054.html
redhat.com/support/errata/RHSA-2004-687.html
nvd.nist.gov/vuln/detail/CVE-2004-0959
github.com/advisories/GHSA-276j-rjhh-4rwm
access.redhat.com/errata/RHSA-2004:687
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=131412
bugzilla.redhat.com/show_bug.cgi?id=131562
bugzilla.redhat.com/show_bug.cgi?id=132003
bugzilla.redhat.com/show_bug.cgi?id=134971
bugzilla.redhat.com/show_bug.cgi?id=134975
bugzilla.redhat.com/show_bug.cgi?id=141132
bugzilla.redhat.com/show_bug.cgi?id=142056
security.access.redhat.com/data/csaf/v2/advisories/2004/rhsa-2004_687.json
access.redhat.com/security/cve/CVE-2004-0958
bugzilla.redhat.com/show_bug.cgi?id=1617331
cve.org/CVERecord?id=CVE-2004-0958
nvd.nist.gov/vuln/detail/CVE-2004-0958
access.redhat.com/security/cve/CVE-2004-0959
bugzilla.redhat.com/show_bug.cgi?id=1617332
cve.org/CVERecord?id=CVE-2004-0959
access.redhat.com/security/cve/CVE-2004-1018
bugzilla.redhat.com/show_bug.cgi?id=1617352
cve.org/CVERecord?id=CVE-2004-1018
nvd.nist.gov/vuln/detail/CVE-2004-1018
access.redhat.com/security/cve/CVE-2004-1019
bugzilla.redhat.com/show_bug.cgi?id=1617353
cve.org/CVERecord?id=CVE-2004-1019
nvd.nist.gov/vuln/detail/CVE-2004-1019
access.redhat.com/security/cve/CVE-2004-1065
bugzilla.redhat.com/show_bug.cgi?id=1617361
cve.org/CVERecord?id=CVE-2004-1065
nvd.nist.gov/vuln/detail/CVE-2004-1065