{ "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" : "BUGTRAQ", "url" : "http://www.securityfocus.com/archive/1/archive/1/447649/100/0/threaded" }, { "name" : "20061009 PHP open_basedir with symlink() function Race Condition PoC exploit", "refsource" : "BUGTRAQ", "url" : "http://www.securityfocus.com/archive/1/archive/1/448020/100/0/threaded" }, { "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" : "http://www.hardened-php.net/advisory_082006.132.html", "refsource" : "MISC", "url" : "http://www.hardened-php.net/advisory_082006.132.html" }, { "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" : "MDKSA-2006:185", "refsource" : "MANDRIVA", "url" : "http://www.mandriva.com/security/advisories?name=MDKSA-2006:185" }, { "name" : "OpenPKG-SA-2006.023", "refsource" : "OPENPKG", "url" : "http://www.securityfocus.com/archive/1/archive/1/448953/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" : "ADV-2006-3901", "refsource" : "VUPEN", "url" : "http://www.vupen.com/english/advisories/2006/3901" }, { "name" : "1016977", "refsource" : "SECTRACK", "url" : "http://securitytracker.com/id?1016977" }, { "name" : "22235", "refsource" : "SECUNIA", "url" : "http://secunia.com/advisories/22235" }, { "name" : "22424", "refsource" : "SECUNIA", "url" : "http://secunia.com/advisories/22424" }, { "name" : "1692", "refsource" : "SREASON", "url" : "http://securityreason.com/securityalert/1692" }, { "name" : "php-openbasedir-security-bypass(29340)", "refsource" : "XF", "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/29340" } ] } }