Skip to main content
← All vulnerabilities
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 file

Published
Last modified
published
Not listed in CISA KEV
1 on Exploit-DB

Summary

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.

Timeline

  1. CVE published
  2. Public exploit on Exploit-DB

    EDB-24985

  3. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

References 9

exchange.xforce.ibmcloud.com

php.net

mandriva.com

securityfocus.com

distro.conectiva.com.br

gentoo.org

Exploit-DB