Live threats

All CVEs / Php

CVE-2004-1020Php

Medium 5.0 No auth needed

Priority
46
CVSS 2.0
5.0
EPSS
7.3%
probability of exploitation in 30 days · percentile 95
Auth required
No
Published
Jan 10, 2005
Updated
Jun 16, 2026
Category
Web application · Cross-platform
Vector
AV:N/AC:L/Au:N/C:P/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp4.3.6
phpphp4.3.7
phpphp4.3.8
phpphp4.3.9
phpphp5.0
phpphp5.0
phpphp5.0
phpphp5.0.0
phpphp5.0.1
phpphp5.0.2

Official sources

References

Links published by the sources. Open them with care.