PT-2004-2019 · Php · Php
Published
2004-12-08
·
Updated
2017-07-11
·
CVE-2004-1020
CVSS v2.0
5.0
Medium
| Vector | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Name of the Vulnerable Software and Affected Versions:
PHP version 4.3.9
Description:
The addslashes function in PHP 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.
Recommendations:
For PHP version 4.3.9, consider disabling the use of the addslashes function until a patch is available, and restrict access to sensitive files to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Php