Security mailing lists by PureSourceCode

CVE-2004-1020

MEDIUM 5.0CVSS 2.0

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.

Published
10 Jan 2005
Last modified
16 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD php php
cpe:2.3:a:php:php:4.3.6:*:*:*:*:*:*:*
= 4.3.6
NVD php php
cpe:2.3:a:php:php:4.3.7:*:*:*:*:*:*:*
= 4.3.7
NVD php php
cpe:2.3:a:php:php:4.3.8:*:*:*:*:*:*:*
= 4.3.8
NVD php php
cpe:2.3:a:php:php:4.3.9:*:*:*:*:*:*:*
= 4.3.9
NVD php php
cpe:2.3:a:php:php:5.0:rc1:*:*:*:*:*:*
= 5.0
NVD php php
cpe:2.3:a:php:php:5.0:rc2:*:*:*:*:*:*
= 5.0
NVD php php
cpe:2.3:a:php:php:5.0:rc3:*:*:*:*:*:*
= 5.0
NVD php php
cpe:2.3:a:php:php:5.0.0:*:*:*:*:*:*:*
= 5.0.0
NVD php php
cpe:2.3:a:php:php:5.0.1:*:*:*:*:*:*:*
= 5.0.1
NVD php php
cpe:2.3:a:php:php:5.0.2:*:*:*:*:*:*:*
= 5.0.2

References

History

  • 25 Nov 2026 20:12 UTC · NVD: first stored (published 10 Jan 2005)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.