Path traversal in PHP - CVE-2007-4663

 

Path traversal in PHP - CVE-2007-4663

Published: July 29, 2017 / Updated: June 8, 2025


Vulnerability identifier: #VU110374
CSH Severity: Medium
CVSS v4.0:
CVE-ID: CVE-2007-4663
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: PHP Group
Affected software:
PHP

Detailed vulnerability description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in PHP before 5.2.4. A remote authenticated attacker can send a specially crafted HTTP request and attackers to bypass open_basedir restrictions via unspecified vectors involving the glob function.


How to mitigate CVE-2007-4663

Install update from vendor's website.

Sources