Unrated severityNVD Advisory· Published Jan 10, 2005· Updated Jun 16, 2026
CVE-2004-1020
CVE-2004-1020
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
11cpe:2.3:a:php:php:4.3.6:*:*:*:*:*:*:*+ 10 more
- cpe:2.3:a:php:php:4.3.6:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:4.3.7:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:4.3.8:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:4.3.9:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.0.1:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.0.2:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:php:php:5.0:rc3:*:*:*:*:*:*
- (no CPE)range: = 4.3.9
Patches
Vulnerability mechanics
References
8- www.securityfocus.com/archive/1/384663nvdExploitVendor Advisory
- www.securityfocus.com/bid/11981nvdExploitPatch
- www.gentoo.org/security/en/glsa/glsa-200412-14.xmlnvdVendor Advisory
- www.php.net/release_4_3_10.phpnvdVendor Advisory
- distro.conectiva.com.br/atualizacoes/nvd
- www.mandriva.com/security/advisoriesnvd
- www.securityfocus.com/advisories/9028nvd
- exchange.xforce.ibmcloud.com/vulnerabilities/18516nvd
News mentions
0No linked articles in our index yet.