Directory Traversal Affecting php package, versions [,5.2.7)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.53% (78th 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-2335317
  • published12 Jan 2022
  • disclosed20 Jun 2008
  • creditUnknown

Introduced: 20 Jun 2008

CVE-2008-2666  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade php to version 5.2.7 or higher.

Overview

Affected versions of this package are vulnerable to Directory Traversal. Multiple directory traversal vulnerabilities in PHP 5.2.6 and earlier allow context-dependent attackers to bypass safe_mode restrictions by creating a subdirectory named http: and then placing ../ (dot dot slash) sequences in an http URL argument to the (1) chdir or (2) ftok function.

CVSS Scores

version 3.1