CVE-2004-1020 - CVE House
Back to Database
Status published Medium CVE-2004-1020

The addslashes function in PHP 4.3.9 does not properly escape...

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2004-1020

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

php
Vulnerable Versions:
4.3.6, 4.3.7, 4.3.8, 4.3.9, 5.0, 5.0.0, 5.0.1, 5.0.2

Timeline

Official Publish: December 8th, 2004
Last Modified: August 8th, 2024
Added to House: July 18th, 2026

CVSS Vectors

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.