CVEvulnerability

CVE-2008-2666

5.0 MEDIUM Published 2008-06-20 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2008-06-20
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N
Weaknesses
CWE-22

Description

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.

Affected configurations

• php php (<= 5.2.6) • php php 5.0 • php php 5.0.0 • php php 5.0.1 • php php 5.0.2 • php php 5.0.3 • php php 5.0.4 • php php 5.0.5 • php php 5.1.0 • php php 5.1.1 • php php 5.1.2 • php php 5.1.3 • php php 5.1.4 • php php 5.1.5 • php php 5.1.6 • php php 5.2.0 • php php 5.2.1 • php php 5.2.2 • php php 5.2.3 • php php 5.2.4 • php php 5.2.5

Related

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References