CVE-2004-1020
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…
Does this matter?
Lower severity and a low EPSS score (7.07%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 2.0
- 5.0 MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
- EPSS
- 7.07% probability · 94th percentile
- CISA KEV
- Not listed
- Affected
- php/php
- Source
- cve@mitre.org
References
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000915
- http://www.gentoo.org/security/en/glsa/glsa-200412-14.xmlVendor Advisory
- http://www.mandriva.com/security/advisories?name=MDKSA-2004:151
- http://www.php.net/release_4_3_10.phpVendor Advisory
- http://www.securityfocus.com/advisories/9028
- http://www.securityfocus.com/archive/1/384663Exploit, Vendor Advisory
- http://www.securityfocus.com/bid/11981Exploit, Patch
- https://exchange.xforce.ibmcloud.com/vulnerabilities/18516
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000915
- http://www.gentoo.org/security/en/glsa/glsa-200412-14.xmlVendor Advisory
- http://www.mandriva.com/security/advisories?name=MDKSA-2004:151
- http://www.php.net/release_4_3_10.phpVendor Advisory
- http://www.securityfocus.com/advisories/9028
- http://www.securityfocus.com/archive/1/384663Exploit, Vendor Advisory
- http://www.securityfocus.com/bid/11981Exploit, Patch
- https://exchange.xforce.ibmcloud.com/vulnerabilities/18516
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.