PT-2008-4111 · Php+1 · Php+1

Published

2008-06-19

·

Updated

2018-10-11

·

CVE-2008-2666

CVSS v2.0

5.0

Medium

VectorAV:N/AC:L/Au:N/C:P/I:N/A:N
Name of the Vulnerable Software and Affected Versions PHP versions 5.2.6 and earlier
Description The issue allows context-dependent attackers to bypass safe mode restrictions. This can be achieved 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.
Recommendations For PHP versions 5.2.6 and earlier, consider restricting access to the chdir and ftok functions as a temporary workaround until a patch is available. Additionally, avoid using ../ (dot dot slash) sequences in http URL arguments to minimize the risk of exploitation.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2008-2666
HPSBUX02431
HPSBUX02465

Affected Products

Hp-Ux
Php