CVE-2004-1020 describes a vulnerability in the addslashes function of PHP 4.3.9, where it fails to properly escape null characters. This flaw could allow remote attackers to read arbitrary files in PHP applications, particularly those with existing directory traversal vulnerabilities in require or include statements, even if protected by magic_quotes_gpc. The vulnerability has a CVSS score of 5.0, indicating a medium severity with low attack complexity and potential for partial confidentiality impact. While not in the KEV catalog, an ExploitDB entry exists for a null byte bypass, and it has garnered significant community discussion, with 10 mentions.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
4.3.6CPE matchmatch criteria | cpe:2.3:a:php:php:4.3.6:*:*:*:*:*:*:* | ||
4.3.7CPE matchmatch criteria | cpe:2.3:a:php:php:4.3.7:*:*:*:*:*:*:* | ||
4.3.8CPE matchmatch criteria | cpe:2.3:a:php:php:4.3.8:*:*:*:*:*:*:* | ||
4.3.9CPE matchmatch criteria | cpe:2.3:a:php:php:4.3.9:*:*:*:*:*:*:* | ||
5.0CPE matchmatch criteria | cpe:2.3:a:php:php:5.0:rc1:*:*:*:*:*:* |
CVSS version used by this source: 2.0
AV:N/AC:L/Au:N/C:P/I:N/A:N
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.4 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.0 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.