Path Traversal in Php

CVE-2008-2666

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.139 (96.2th percentile) — read the EPSS interpretation.

Affected products

  • Php — versions 5.0, 5.0.0, 5.0.1
  • N/a — versions n/a

Weakness classification (CWE)

References