← Back

CVE-2006-5178

nvd nist
Published: Oct 10, 2006Modified: Apr 23, 2026

JSON object

Loading...
6.2
Vector
AV:L/AC:H/Au:N/C:C/I:C/A:C
Exploitability: 1.9 / Impact: 10.0
Source: NVD

Description

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.

Affected (54)

Products: Php: Php
1 product
Php
Configuration A
54 vulnerable
Vulnerable SoftwareAffected Versions
Php
Up to 5.1.6
Version 4.0.1
Version 4.0.1 patch1
Version 4.0.1 patch2
Version 4.0.2
Version 4.0.3 patch1
Version 4.0.4
Version 4.0.5
Version 4.0.6
Version 4.0.7
Version 4.0.7 rc1
Version 4.0.7 rc2
Version 4.0.7 rc3
Version 4.0
Version 4.1.0
Version 4.1.1
Version 4.1.2
Version 4.2.0
Version 4.2.1
Version 4.2.2
Version 4.2.3
Version 4.2
Version 4.3.0
Version 4.3.10
Version 4.3.11
Version 4.3.1
Version 4.3.2
Version 4.3.3
Version 4.3.4
Version 4.3.5
Version 4.3.6
Version 4.3.7
Version 4.3.8
Version 4.3.9
Version 4.4.0
Version 4.4.1
Version 4.4.2
Version 4.4.3
Version 4.4.4
Version 5.0.0
Version 5.0.1
Version 5.0.2
Version 5.0.3
Version 5.0.4
Version 5.0.5
Version 5.0 rc1
Version 5.0 rc2
Version 5.0 rc3
Version 5.1.0
Version 5.1.1
Version 5.1.2
Version 5.1.3
Version 5.1.4
Version 5.1.5

References (30)

Source: cve@mitre.org
ExploitVendor Advisory
Source: cve@mitre.org
Exploit
Source: cve@mitre.org
ExploitVendor Advisory
Source: cve@mitre.org
Exploit
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit
Source: af854a3a-2127-422b-91ae-364da2661108
ExploitVendor Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit
Source: af854a3a-2127-422b-91ae-364da2661108
ExploitVendor Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108

Timeline

No history available yet.