CVE-2006-5178
MEDIUM 6.2EPSS 0.7%
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.
- CVSS v2.0 NVD
- 6.2 MEDIUM
AV:L/AC:H/Au:N/C:C/I:C/A:C - EPSS
- 0.66% chance of exploitation in the next 30 days, 51st percentile
- Published
- 2006-10-06
- Updated
- 2024-08-07
Proof-of-concept exploits (1)
ExploitDB entries (1)
Security advisories
- http://secunia.com/advisories/22235
- http://www.hardened-php.net/advisory_082006.132.html
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:185
- http://www.securityfocus.com/bid/20326