CVE-2006-5178
PHP <5.1.6 - Privilege Escalation
Title source: llmDescription
Race condition in the symlink function in PHP 5.1.6 and earlier allows local users to bypass the open_basedir restriction by using a combination of symlink, mkdir, and unlink functions to change the file path after the open_basedir check and before the file is opened by the underlying system, as demonstrated by symlinking a symlink into a subdirectory, to point to a parent directory via .. (dot dot) sequences, and then unlinking the resulting symlink.
Exploits (1)
References (15)
Scores
EPSS
0.0026
EPSS Percentile
49.9%
Details
CWE
CWE-362
Status
published
Products (43)
php/php
4.0
php/php
4.0.1 (3 CPE variants)
php/php
4.0.2
php/php
4.0.3 patch1
php/php
4.0.4
php/php
4.0.5
php/php
4.0.6
php/php
4.0.7 (4 CPE variants)
php/php
4.1.0
php/php
4.1.1
... and 33 more
Published
Oct 10, 2006
Tracked Since
Feb 18, 2026