CVE Vulnerabilities

CVE-2004-1020

Published: Jan 10, 2005 | Modified: Apr 03, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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 Software

NameVendorStart VersionEnd Version
PhpPhp4.3.6 (including)4.3.6 (including)
PhpPhp4.3.7 (including)4.3.7 (including)
PhpPhp4.3.8 (including)4.3.8 (including)
PhpPhp4.3.9 (including)4.3.9 (including)
PhpPhp5.0-rc1 (including)5.0-rc1 (including)
PhpPhp5.0-rc2 (including)5.0-rc2 (including)
PhpPhp5.0-rc3 (including)5.0-rc3 (including)
PhpPhp5.0.0 (including)5.0.0 (including)
PhpPhp5.0.1 (including)5.0.1 (including)
PhpPhp5.0.2 (including)5.0.2 (including)
Php4Ubuntudapper*
Php4Ubuntuedgy*
Php5Ubuntudapper*
Php5Ubuntudevel*
Php5Ubuntuedgy*
Php5Ubuntufeisty*

References