Path traversal in PHP - CVE-2006-1494

 

Path traversal in PHP - CVE-2006-1494

Published: October 30, 2018 / Updated: June 9, 2025


Vulnerability identifier: #VU110487
CSH Severity: Low
CVSS v4.0:
CVE-ID: CVE-2006-1494
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: Public exploit is 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 file.c in PHP 4.4.2 and 5.1.2 allows local users to bypass open_basedir restrictions. A remote authenticated attacker can send a specially crafted HTTP request and remote attackers to create files in arbitrary directories via the tempnam function.


How to mitigate CVE-2006-1494

Install update from vendor's website.

Sources