CVE-2006-5178 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No CVSS 3.x data is available for this CVE.
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| php php | <= 5.1.6 4.0 4.0.1 4.0.1 patch1 4.0.1 patch2 4.0.2 4.0.3 patch1 4.0.4 4.0.5 4.0.6 4.0.7 4.0.7 rc1 4.0.7 rc2 4.0.7 rc3 4.1.0 4.1.1 4.1.2 4.2 4.2.0 4.2.1 4.2.2 4.2.3 4.3.0 4.3.1 4.3.2 4.3.3 4.3.4 4.3.5 4.3.6 4.3.7 4.3.8 4.3.9 4.3.10 4.3.11 4.4.0 4.4.1 4.4.2 4.4.3 4.4.4 5.0 rc1 5.0 rc2 5.0 rc3 5.0.0 5.0.1 5.0.2 5.0.3 5.0.4 5.0.5 5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 16, 2026 | CVE Modified | [email protected] |
| Apr 23, 2026 | Status Change | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Oct 30, 2018 | CPE Deprecation Remap | [email protected] |
| Oct 30, 2018 | CPE Deprecation Remap | [email protected] |
| Oct 17, 2018 | CVE Modified | [email protected] |
| Jul 20, 2017 | CVE Modified | [email protected] |
| Oct 10, 2006 | Initial Analysis | [email protected] |