CVE-2004-1020
published 2005-01-10CVE-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…
PriorityP431medium5CVSS 2.0
AVNACLAuNCPINAN
EXPLOIT
EPSS
7.07%
93.4th percentile
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.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| php | php | — | — |
| php | php | — | — |
| php | php | — | — |
| php | php | — | — |
| php | php | — | — |
| php | php | — | — |
| php | php | — | — |
| php | php | — | — |
CVSS provenance
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
vendor_redhat5.0MEDIUM
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
CVE-2004-1020: The addslashes function in PHP 4
vendor_redhat·CVSS 5.0
CVE-2004-1020 [MEDIUM] CVE-2004-1020: The addslashes function in PHP 4
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.
Statement: Red Hat does not consider this issue to be a security vulnerability since no trust boundary is crossed. There are no known uses of this function which could allow a remote attacker to execute arbitrary code.
GHSA
GHSA-h7q9-pqp4-r828: The addslashes function in PHP 4
ghsa_unreviewed·2022-04-29
CVE-2004-1020 [MEDIUM] GHSA-h7q9-pqp4-r828: The addslashes function in PHP 4
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.
No detection rules found.
No writeups or analysis indexed.
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000915http://www.gentoo.org/security/en/glsa/glsa-200412-14.xmlhttp://www.mandriva.com/security/advisories?name=MDKSA-2004:151http://www.php.net/release_4_3_10.phphttp://www.securityfocus.com/advisories/9028http://www.securityfocus.com/archive/1/384663http://www.securityfocus.com/bid/11981https://exchange.xforce.ibmcloud.com/vulnerabilities/18516http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000915http://www.gentoo.org/security/en/glsa/glsa-200412-14.xmlhttp://www.mandriva.com/security/advisories?name=MDKSA-2004:151http://www.php.net/release_4_3_10.phphttp://www.securityfocus.com/advisories/9028http://www.securityfocus.com/archive/1/384663http://www.securityfocus.com/bid/11981https://exchange.xforce.ibmcloud.com/vulnerabilities/18516
2005-01-10
Published