CVE-2006-5178
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n/a | n/a | n/a | affected |
Weaknesses
- n/a
ADP Enrichment
CVE Program Container
Additional References
- http://lists.grok.org.uk/pipermail/full-disclosure/2006-October/049850.html
- http://www.securityfocus.com/archive/1/448953/100/0/threaded
- http://www.securityfocus.com/archive/1/447649/100/0/threaded
- http://www.turbolinux.com/security/2006/TLSA-2006-38.txt
- http://www.securityfocus.com/bid/20326
- http://securityreason.com/securityalert/1692
- http://www.neosecurityteam.net/index.php?action=advisories&id=26
- http://secunia.com/advisories/22235
- http://www.securityfocus.com/archive/1/448020/100/0/threaded
- http://www.vupen.com/english/advisories/2006/3901
- https://exchange.xforce.ibmcloud.com/vulnerabilities/29340
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:185
- http://www.hardened-php.net/advisory_082006.132.html
- http://securitytracker.com/id?1016977
- http://secunia.com/advisories/22424
References
- http://lists.grok.org.uk/pipermail/full-disclosure/2006-October/049850.html
- http://www.securityfocus.com/archive/1/448953/100/0/threaded
- http://www.securityfocus.com/archive/1/447649/100/0/threaded
- http://www.turbolinux.com/security/2006/TLSA-2006-38.txt
- http://www.securityfocus.com/bid/20326
- http://securityreason.com/securityalert/1692
- http://www.neosecurityteam.net/index.php?action=advisories&id=26
- http://secunia.com/advisories/22235
- http://www.securityfocus.com/archive/1/448020/100/0/threaded
- http://www.vupen.com/english/advisories/2006/3901
- https://exchange.xforce.ibmcloud.com/vulnerabilities/29340
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:185
- http://www.hardened-php.net/advisory_082006.132.html
- http://securitytracker.com/id?1016977
- http://secunia.com/advisories/22424
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.