CVE-2004-1020
Last modified
CVE-2004-1020 is a vulnerability of currently unknown severity. The addslashes function in PHP 4.3.9 does not properly escape a NULL (/0) character, which may allow remote attackers to read arbitrary files in PHP applications that contain a directory traversal vulnerability in require or include statements, but are otherwise protected by the magic_quotes_gpc mechanism. NOTE: this issue was originally REJECTed by its CNA before publication, but that decision is in active dispute. EPSS estimates a 7.07% chance of exploitation in the next 30 days.
Description
The addslashes function in PHP 4.3.9 does not properly escape a NULL (/0) character, which may allow remote attackers to read arbitrary files in PHP applications that contain a directory traversal vulnerability in require or include statements, but are otherwise protected by the magic_quotes_gpc mechanism. NOTE: this issue was originally REJECTed by its CNA before publication, but that decision is in active dispute. This candidate may change significantly in the future as a result of further discussion.
Metrics
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Php | Php | 4.3.6 | — |
| Php | Php | 4.3.7 | — |
| Php | Php | 4.3.8 | — |
| Php | Php | 4.3.9 | — |
| Php | Php | 5.0 | Rc1 |
| Php | Php | 5.0.0 | — |
| Php | Php | 5.0.1 | — |
| Php | Php | 5.0.2 | — |
References
- http://www.gentoo.org/security/en/glsa/glsa-200412-14.xmlVendor Advisory
- http://www.php.net/release_4_3_10.phpVendor Advisory
- http://www.securityfocus.com/archive/1/384663Exploit, Vendor Advisory
- http://www.securityfocus.com/bid/11981Exploit, Patch
- http://www.gentoo.org/security/en/glsa/glsa-200412-14.xmlVendor Advisory
- http://www.php.net/release_4_3_10.phpVendor Advisory
- http://www.securityfocus.com/archive/1/384663Exploit, Vendor Advisory
- http://www.securityfocus.com/bid/11981Exploit, Patch
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2004-1020?
How severe is CVE-2004-1020?
How do I fix CVE-2004-1020?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2004
- CVE-2004-1014statd in nfs-utils 1.257 and earlier does not ignore the SIG…
- CVE-2004-1015Buffer overflow in proxyd for Cyrus IMAP Server 2.2.9 and ea…
- CVE-2004-1016The scm_send function in the scm layer for Linux kernel 2.4.…
- CVE-2004-1017Multiple "overflows" in the io_edgeport driver for Linux ker…
- CVE-2004-1018Multiple integer handling errors in PHP before 4.3.10 allow …
- CVE-2004-1019The deserialization code in PHP before 4.3.10 and PHP 5.x up…
- CVE-2004-1021iCal before 1.5.4 on Mac OS X 10.2.3, and other later versio…
- CVE-2004-1022Kerio Winroute Firewall before 6.0.7, ServerFirewall before …
- CVE-2004-1023Kerio Winroute Firewall before 6.0.9, ServerFirewall before …
- CVE-2004-1025Multiple heap-based buffer overflows in imlib 1.9.14 and ear…
- CVE-2004-1026Multiple integer overflows in the image handler for imlib 1.…
- CVE-2004-1027Directory traversal vulnerability in the -x (extract) comman…
Are you affected by CVE-2004-1020?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
