CVE-2006-5178
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.
- Severity
- MEDIUMCVSS 6.2
- Priority
- P4: Lower exploitation likelihood
- Exploit prediction (EPSS)
- 0.66%higher than 53% of CVEs
- CISA KEV
- Not listed as known exploited
- First reported
- 10 October 2006
Is CVE-2006-5178 on your systems?
Sign in to get an AI-assisted analysis, a read-only verification script for your servers, and alerts when this CVE changes or is exploited.
References
- http://lists.grok.org.uk/pipermail/full-disclosure/2006-October/049850.html
- http://secunia.com/advisories/22235
- http://secunia.com/advisories/22424
- http://securityreason.com/securityalert/1692
- http://securitytracker.com/id?1016977
- http://www.hardened-php.net/advisory_082006.132.html
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:185
- http://www.neosecurityteam.net/index.php?action=advisories&id=26
- http://www.securityfocus.com/archive/1/447649/100/0/threaded
- http://www.securityfocus.com/archive/1/448020/100/0/threaded
- http://www.securityfocus.com/archive/1/448953/100/0/threaded
Look up another CVE
Linda Taifa tracks CVE-2006-5178 and every other published CVE for organisations in Tanzania and across Africa. See the latest on CVE Tanzania.
Sources: NVD, CISA Known Exploited Vulnerabilities catalog and FIRST EPSS. Official CVE record · NVD entry