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?
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
