CLA-2005:915Vendor advisory
http://distro.conectiva.com.br/atualizacoes?id=a&anuncio=000915 CVE-2004-1020
PHP 4/5 - 'addslashes()' Null Byte Bypass
Record summary
CVE-2004-1020 has a selected CVSS score of 5.0; EIP currently links 1 catalogued exploit.
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.
Description source: CVE List
Exploitation context
Available material
- Catalogued exploits
- 1
Proofs of concept
1Catalogued exploits
ExploitDBPHP 4/5 - 'addslashes()' Null Byte BypassExploitDB exploitby Daniel FabianNot analyzed1 file
References
9GLSA-200412-14Vendor advisory
http://www.gentoo.org/security/en/glsa/glsa-200412-14.xml MDKSA-2004:151Vendor advisory
http://www.mandriva.com/security/advisories?name=MDKSA-2004:151 php.netConfirmation
http://www.php.net/release_4_3_10.php HPSBMA01212Vendor advisory
http://www.securityfocus.com/advisories/9028 20041216 PHP Input Validation Vulnerabilitiesmailing list
http://www.securityfocus.com/archive/1/384663 11981vdb entry
http://www.securityfocus.com/bid/11981 php-addslashes-view-files(18516)vdb entry
https://exchange.xforce.ibmcloud.com/vulnerabilities/18516 nvd.nist.gov
https://nvd.nist.gov/vuln/detail/CVE-2004-1020