CVE-2008-2666

php: chdir(), ftok() (standard ext) safe_mode bypass safe_mode bypass

Published Jun 20, 2008 CVSS 2.0 · 5.0 Medium EPSS 13.9% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2008-2661 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.
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 7, 2024, 9:05 AM
Reserved
Jun 10, 2008, 12:00 AM
Status
Modified
Published
Jun 20, 2008, 1:41 AM
Modified
Jun 16, 2026, 10:54 PM
Severity
Low
Public date
Jun 18, 2008, 12:00 AM