{"id":"CVE-2006-5178","published":"2006-10-06T00:00:00Z","modified":"2024-08-07T19:41:04Z","title":"Race condition in the symlink function in PHP 5.1.6 and earlier allows local users to bypass the open_basedir…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00658,"percentile":0.52449,"provenance":"source"},"cwes":[],"references":[{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2006-October/049850.html","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://www.securityfocus.com/archive/1/448953/100/0/threaded","tags":["vendor-advisory","x_refsource_OPENPKG"]},{"url":"http://www.securityfocus.com/archive/1/447649/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.turbolinux.com/security/2006/TLSA-2006-38.txt","tags":["vendor-advisory","x_refsource_TURBO"]},{"url":"http://www.securityfocus.com/bid/20326","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://securityreason.com/securityalert/1692","tags":["third-party-advisory","x_refsource_SREASON"]},{"url":"http://www.neosecurityteam.net/index.php?action=advisories&id=26","tags":["x_refsource_MISC"]},{"url":"http://secunia.com/advisories/22235","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/archive/1/448020/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.vupen.com/english/advisories/2006/3901","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/29340","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:185","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://www.hardened-php.net/advisory_082006.132.html","tags":["x_refsource_MISC"]},{"url":"http://securitytracker.com/id?1016977","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://secunia.com/advisories/22424","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":10.49},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2009-12-19"},"first":{"date":"2009-12-19","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/10557"},"provenance":"source"},"euvd":{"id":"EUVD-2006-5163","exploited":false,"provenance":"source"},"exploits":[{"id":10557,"url":"https://www.exploit-db.com/exploits/10557","title":"PHP 5.2.12/5.3.1 - 'symlink()' open_basedir Bypass","date":"2009-12-19","verified":true,"provenance":"source"}]}