CVE-2004-1020
MEDIUM
5.0
CVSS 2.0
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.
Affected products and versions
- PHP versions 4.3.6, 4.3.7, 4.3.8, 4.3.9, 5.0.0, 5.0.1, 5.0.2, 5.0rc1, 5.0rc2, 5.0rc3
References
- distro.conectiva.com.br http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000915
- www.gentoo.org http://www.gentoo.org/security/en/glsa/glsa-200412-14.xml Vendor Advisory
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDKSA-2004:151
- www.php.net http://www.php.net/release_4_3_10.php Vendor Advisory
- www.securityfocus.com http://www.securityfocus.com/advisories/9028
- www.securityfocus.com http://www.securityfocus.com/archive/1/384663 Exploit, Vendor Advisory
- www.securityfocus.com http://www.securityfocus.com/bid/11981 Exploit, Patch
- exchange.xforce.ibmcloud.com https://exchange.xforce.ibmcloud.com/vulnerabilities/18516
- nvd.nist.gov Official NVD record