VULNERABILITY INTELLIGENCE
CVE-2006-5178
CVSS score6.2 MEDIUM
EPSS probability0.66%
CISA KEVNot currently listed
Published2006-10-10
Last modified2026-06-16
CVSS vectorAV:L/AC:H/Au:N/C:C/I:C/A:C
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.
Weakness classification
- CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Primary references
- cve@mitre.org — Exploit
- cve@mitre.org — Exploit, Vendor Advisory
- cve@mitre.org
- cve@mitre.org
- cve@mitre.org — Exploit
- cve@mitre.org — Exploit, Vendor Advisory
- cve@mitre.org
- cve@mitre.org
- cve@mitre.org
- cve@mitre.org
- cve@mitre.org
- cve@mitre.org — Exploit