CVE-2004-1020
publishedPackage status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
8- CLA-2005:915 http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000915
- GLSA-200412-14 http://www.gentoo.org/security/en/glsa/glsa-200412-14.xml
- MDKSA-2004:151 http://www.mandriva.com/security/advisories?name=MDKSA-2004:151
- http://www.php.net/release_4_3_10.php
- HPSBMA01212 http://www.securityfocus.com/advisories/9028
- 20041216 PHP Input Validation Vulnerabilities http://www.securityfocus.com/archive/1/384663
- 11981 http://www.securityfocus.com/bid/11981
- php-addslashes-view-files(18516) https://exchange.xforce.ibmcloud.com/vulnerabilities/18516
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- de0676ddb5f17d303740024f95f1f00a082e166914d803c800a4854cadfd340a
- Ingested
- 23 Sep 2026, 07:37:54 UTC
- Source record
- Official CVE record