{"containers":{"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2006-10-03T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2018-10-17T20:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"20061003 Advisory 08/2006: PHP open_basedir Race Condition Vulnerability","tags":["mailing-list","x_refsource_FULLDISC"],"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2006-October/049850.html"},{"name":"OpenPKG-SA-2006.023","tags":["vendor-advisory","x_refsource_OPENPKG"],"url":"http://www.securityfocus.com/archive/1/448953/100/0/threaded"},{"name":"20061003 Advisory 08/2006: PHP open_basedir Race Condition Vulnerability","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://www.securityfocus.com/archive/1/447649/100/0/threaded"},{"name":"TLSA-2006-38","tags":["vendor-advisory","x_refsource_TURBO"],"url":"http://www.turbolinux.com/security/2006/TLSA-2006-38.txt"},{"name":"20326","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/20326"},{"name":"1692","tags":["third-party-advisory","x_refsource_SREASON"],"url":"http://securityreason.com/securityalert/1692"},{"tags":["x_refsource_MISC"],"url":"http://www.neosecurityteam.net/index.php?action=advisories&id=26"},{"name":"22235","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/22235"},{"name":"20061009 PHP open_basedir with symlink() function Race Condition PoC exploit","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://www.securityfocus.com/archive/1/448020/100/0/threaded"},{"name":"ADV-2006-3901","tags":["vdb-entry","x_refsource_VUPEN"],"url":"http://www.vupen.com/english/advisories/2006/3901"},{"name":"php-openbasedir-security-bypass(29340)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/29340"},{"name":"MDKSA-2006:185","tags":["vendor-advisory","x_refsource_MANDRIVA"],"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:185"},{"tags":["x_refsource_MISC"],"url":"http://www.hardened-php.net/advisory_082006.132.html"},{"name":"1016977","tags":["vdb-entry","x_refsource_SECTRACK"],"url":"http://securitytracker.com/id?1016977"},{"name":"22424","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/22424"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2006-5178","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"20061003 Advisory 08/2006: PHP open_basedir Race Condition Vulnerability","refsource":"FULLDISC","url":"http://lists.grok.org.uk/pipermail/full-disclosure/2006-October/049850.html"},{"name":"OpenPKG-SA-2006.023","refsource":"OPENPKG","url":"http://www.securityfocus.com/archive/1/448953/100/0/threaded"},{"name":"20061003 Advisory 08/2006: PHP open_basedir Race Condition Vulnerability","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/447649/100/0/threaded"},{"name":"TLSA-2006-38","refsource":"TURBO","url":"http://www.turbolinux.com/security/2006/TLSA-2006-38.txt"},{"name":"20326","refsource":"BID","url":"http://www.securityfocus.com/bid/20326"},{"name":"1692","refsource":"SREASON","url":"http://securityreason.com/securityalert/1692"},{"name":"http://www.neosecurityteam.net/index.php?action=advisories&id=26","refsource":"MISC","url":"http://www.neosecurityteam.net/index.php?action=advisories&id=26"},{"name":"22235","refsource":"SECUNIA","url":"http://secunia.com/advisories/22235"},{"name":"20061009 PHP open_basedir with symlink() function Race Condition PoC exploit","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/448020/100/0/threaded"},{"name":"ADV-2006-3901","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2006/3901"},{"name":"php-openbasedir-security-bypass(29340)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/29340"},{"name":"MDKSA-2006:185","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:185"},{"name":"http://www.hardened-php.net/advisory_082006.132.html","refsource":"MISC","url":"http://www.hardened-php.net/advisory_082006.132.html"},{"name":"1016977","refsource":"SECTRACK","url":"http://securitytracker.com/id?1016977"},{"name":"22424","refsource":"SECUNIA","url":"http://secunia.com/advisories/22424"}]}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-07T19:41:04.388Z"},"title":"CVE Program Container","references":[{"name":"20061003 Advisory 08/2006: PHP open_basedir Race Condition Vulnerability","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"],"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2006-October/049850.html"},{"name":"OpenPKG-SA-2006.023","tags":["vendor-advisory","x_refsource_OPENPKG","x_transferred"],"url":"http://www.securityfocus.com/archive/1/448953/100/0/threaded"},{"name":"20061003 Advisory 08/2006: PHP open_basedir Race Condition Vulnerability","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://www.securityfocus.com/archive/1/447649/100/0/threaded"},{"name":"TLSA-2006-38","tags":["vendor-advisory","x_refsource_TURBO","x_transferred"],"url":"http://www.turbolinux.com/security/2006/TLSA-2006-38.txt"},{"name":"20326","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/20326"},{"name":"1692","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"],"url":"http://securityreason.com/securityalert/1692"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://www.neosecurityteam.net/index.php?action=advisories&id=26"},{"name":"22235","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/22235"},{"name":"20061009 PHP open_basedir with symlink() function Race Condition PoC exploit","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://www.securityfocus.com/archive/1/448020/100/0/threaded"},{"name":"ADV-2006-3901","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"],"url":"http://www.vupen.com/english/advisories/2006/3901"},{"name":"php-openbasedir-security-bypass(29340)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/29340"},{"name":"MDKSA-2006:185","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"],"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:185"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://www.hardened-php.net/advisory_082006.132.html"},{"name":"1016977","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"],"url":"http://securitytracker.com/id?1016977"},{"name":"22424","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/22424"}]}]},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2006-5178","datePublished":"2006-10-06T00:00:00.000Z","dateReserved":"2006-10-05T00:00:00.000Z","dateUpdated":"2024-08-07T19:41:04.388Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}