peter bassill · operator
$ cve CVE-2004-1020 JSON

CVE-2004-1020 EXPLOIT

5.0
MEDIUM · CVSS 2.0 · EPSS 7.1% (pctl 94)

Patch early

A public exploit exists.

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.

Scoring

CVSS5.0 (MEDIUM, v2.0)
VectorAV:N/AC:L/Au:N/C:P/I:N/A:N
EPSS7.07% — more likely to be exploited than 94% of all CVEs
On CISA KEVno
Public exploityes
Published2005-01-10
Last modified2026-06-16

Affected (1)

VendorProduct
phpphp

Public exploits

SourceTitleDate
exploit-dbPHP 4/5 - 'addslashes()' Null Byte Bypass2004-12-16

References

→ the Explorer  ·  watch your stack  ·  NVD