CVE-2004-1020

UnknownEPSS 7.07%

Last modified

CVE-2004-1020 is a vulnerability of currently unknown severity. 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. EPSS estimates a 7.07% chance of exploitation in the next 30 days.

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.

Metrics

EPSS Probability
7.07%

93.4th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

VendorProductVersionsUpdate
PhpPhp4.3.6
PhpPhp4.3.7
PhpPhp4.3.8
PhpPhp4.3.9
PhpPhp5.0Rc1
PhpPhp5.0.0
PhpPhp5.0.1
PhpPhp5.0.2

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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 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.
How severe is CVE-2004-1020?
Severity scoring for CVE-2004-1020 is pending analysis. The EPSS model estimates a 7.07% probability of exploitation in the next 30 days.
How do I fix CVE-2004-1020?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2004-1020?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST