Directory Traversal Affecting php package, versions [4.3.6,5.0.2]


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.32% (90th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PHP-2335151
  • published12 Jan 2022
  • disclosed10 Jan 2005
  • creditUnknown

Introduced: 10 Jan 2005

CVE-2004-1020  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

There is no fixed version for php.

Overview

Affected versions of this package are vulnerable to Directory Traversal. 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.

CVSS Scores

version 3.1