5.0med

CVE-2004-10201 exploit

The addslashes function in PHP 4.3.9 does not properly escape a NULL (/0) character, which may allow remote attackers to read arbitrary fil…

Published 21 y ago · modified 4 mo ago · JSON

CVSS
5.0
v2.0 · NVD
CISA KEV
No
not known exploited
EPSS
7.1%
percentile 94%
Public exploits
1
Exploit-DB

Summary

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.

Exploit prediction (EPSS)

7.07% probability of exploitation in the next 30 days, higher than 94% of all scored CVEs.

Exploits and detections

  • EDB-24985 PHP 4/5 - 'addslashes()' Null Byte Bypass · remote · 2004-12-16

CVSS scores

Assigned byVersionScoreVector
NVD2.05.0AV:N/AC:L/Au:N/C:P/I:N/A:N

Classification

Technology feeds
PHP (RSS, critical only)

References

  • exchange.xforce.ibmcloud.com /vulnerabilities/18516 · vdb-entry, x_refsource_XF, x_transferred
  • php.net /release_4_3_10.php · x_refsource_CONFIRM, x_transferred
  • mandriva.com /security/advisories?name=MDKSA-2004:151 · vendor-advisory, x_refsource_MANDRAKE, x_transferred
  • securityfocus.com /bid/11981 · vdb-entry, x_refsource_BID, x_transferred
  • securityfocus.com /archive/1/384663 · mailing-list, x_refsource_BUGTRAQ, x_transferred
  • distro.conectiva.com.br /atualizacoes/?id=a&anuncio=000915 · vendor-advisory, x_refsource_CONECTIVA, x_transferred
  • gentoo.org /security/en/glsa/glsa-200412-14.xml · vendor-advisory, x_refsource_GENTOO, x_transferred
  • securityfocus.com /advisories/9028 · vendor-advisory, x_refsource_HP, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.