{"id":"CVE-2008-2666","state":"PUBLISHED","title":"Multiple directory traversal vulnerabilities in PHP 5.2.6 and earlier allow context-dependent attackers to bypass safe_mode restrictions by creating a subdirectory named http: and ","description":"Multiple directory traversal vulnerabilities in PHP 5.2.6 and earlier allow context-dependent attackers to bypass safe_mode restrictions by creating a subdirectory named http: and then placing ../ (dot dot slash) sequences in an http URL argument to the (1) chdir or (2) ftok function.","publishedAt":"2008-06-20T01:00:00.000Z","updatedAt":"2024-08-07T09:05:30.452Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://secunia.com/advisories/32746","http://marc.info/?l=bugtraq&m=125631037611762&w=2","http://support.apple.com/kb/HT3549","http://securityreason.com/securityalert/3942","http://security.gentoo.org/glsa/glsa-200811-05.xml","http://marc.info/?l=bugtraq&m=124654546101607&w=2","http://www.securityfocus.com/archive/1/501376/100/0/threaded","http://wiki.rpath.com/Advisories:rPSA-2009-0035","http://www.securityfocus.com/bid/29796","http://secunia.com/advisories/35074","http://lists.apple.com/archives/security-announce/2009/May/msg00002.html","https://exchange.xforce.ibmcloud.com/vulnerabilities/43198","http://www.us-cert.gov/cas/techalerts/TA09-133A.html","http://www.vupen.com/english/advisories/2009/1297","http://www.securitytracker.com/id?1020328","http://secunia.com/advisories/35650","http://securityreason.com/achievement_securityalert/55"],"weaknesses":[],"ingestedAt":"2026-10-29T19:38:54.183Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2008/2xxx/CVE-2008-2666.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2008-2666","state":"PUBLISHED","datePublished":"2008-06-20T01:00:00.000Z","dateUpdated":"2024-08-07T09:05:30.452Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2008-06-10T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Multiple directory traversal vulnerabilities in PHP 5.2.6 and earlier allow context-dependent attackers to bypass safe_mode restrictions by creating a subdirectory named http: and then placing ../ (dot dot slash) sequences in an http URL argument to the (1) chdir or (2) ftok function."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://secunia.com/advisories/32746","name":"32746","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://marc.info/?l=bugtraq&m=125631037611762&w=2","name":"HPSBUX02465","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://support.apple.com/kb/HT3549","tags":["x_refsource_CONFIRM"]},{"url":"http://securityreason.com/securityalert/3942","name":"3942","tags":["third-party-advisory","x_refsource_SREASON"]},{"url":"http://security.gentoo.org/glsa/glsa-200811-05.xml","name":"GLSA-200811-05","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://marc.info/?l=bugtraq&m=124654546101607&w=2","name":"SSRT090085","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://www.securityfocus.com/archive/1/501376/100/0/threaded","name":"20090302 rPSA-2009-0035-1 php php-cgi php-imap php-mcrypt php-mysql php-mysqli php-pgsql php-soap php-xsl php5 php5-cgi php5-imap php5-mcrypt php5-mysql php5-mysqli php5-pear php5-pgsql php5-soap php5-xsl","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://wiki.rpath.com/Advisories:rPSA-2009-0035","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/29796","name":"29796","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://secunia.com/advisories/35074","name":"35074","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://marc.info/?l=bugtraq&m=125631037611762&w=2","name":"SSRT090192","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://lists.apple.com/archives/security-announce/2009/May/msg00002.html","name":"APPLE-SA-2009-05-12","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/43198","name":"php-chdir-ftoc-security-bypass(43198)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA09-133A.html","name":"TA09-133A","tags":["third-party-advisory","x_refsource_CERT"]},{"url":"http://www.vupen.com/english/advisories/2009/1297","name":"ADV-2009-1297","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.securitytracker.com/id?1020328","name":"1020328","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://marc.info/?l=bugtraq&m=124654546101607&w=2","name":"HPSBUX02431","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://secunia.com/advisories/35650","name":"35650","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://securityreason.com/achievement_securityalert/55","name":"20080617 PHP 5.2.6 chdir(),ftok() (standard ext) safe_mode bypass","tags":["third-party-advisory","x_refsource_SREASONRES"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-10-11T19:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2008-06-17T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2008-2666","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":"Multiple directory traversal vulnerabilities in PHP 5.2.6 and earlier allow context-dependent attackers to bypass safe_mode restrictions by creating a subdirectory named http: and then placing ../ (dot dot slash) sequences in an http URL argument to the (1) chdir or (2) ftok function."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"32746","refsource":"SECUNIA","url":"http://secunia.com/advisories/32746"},{"name":"HPSBUX02465","refsource":"HP","url":"http://marc.info/?l=bugtraq&m=125631037611762&w=2"},{"name":"http://support.apple.com/kb/HT3549","refsource":"CONFIRM","url":"http://support.apple.com/kb/HT3549"},{"name":"3942","refsource":"SREASON","url":"http://securityreason.com/securityalert/3942"},{"name":"GLSA-200811-05","refsource":"GENTOO","url":"http://security.gentoo.org/glsa/glsa-200811-05.xml"},{"name":"SSRT090085","refsource":"HP","url":"http://marc.info/?l=bugtraq&m=124654546101607&w=2"},{"name":"20090302 rPSA-2009-0035-1 php php-cgi php-imap php-mcrypt php-mysql php-mysqli php-pgsql php-soap php-xsl php5 php5-cgi php5-imap php5-mcrypt php5-mysql php5-mysqli php5-pear php5-pgsql php5-soap php5-xsl","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/501376/100/0/threaded"},{"name":"http://wiki.rpath.com/Advisories:rPSA-2009-0035","refsource":"CONFIRM","url":"http://wiki.rpath.com/Advisories:rPSA-2009-0035"},{"name":"29796","refsource":"BID","url":"http://www.securityfocus.com/bid/29796"},{"name":"35074","refsource":"SECUNIA","url":"http://secunia.com/advisories/35074"},{"name":"SSRT090192","refsource":"HP","url":"http://marc.info/?l=bugtraq&m=125631037611762&w=2"},{"name":"APPLE-SA-2009-05-12","refsource":"APPLE","url":"http://lists.apple.com/archives/security-announce/2009/May/msg00002.html"},{"name":"php-chdir-ftoc-security-bypass(43198)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/43198"},{"name":"TA09-133A","refsource":"CERT","url":"http://www.us-cert.gov/cas/techalerts/TA09-133A.html"},{"name":"ADV-2009-1297","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2009/1297"},{"name":"1020328","refsource":"SECTRACK","url":"http://www.securitytracker.com/id?1020328"},{"name":"HPSBUX02431","refsource":"HP","url":"http://marc.info/?l=bugtraq&m=124654546101607&w=2"},{"name":"35650","refsource":"SECUNIA","url":"http://secunia.com/advisories/35650"},{"name":"20080617 PHP 5.2.6 chdir(),ftok() (standard ext) safe_mode bypass","refsource":"SREASONRES","url":"http://securityreason.com/achievement_securityalert/55"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://secunia.com/advisories/32746","name":"32746","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://marc.info/?l=bugtraq&m=125631037611762&w=2","name":"HPSBUX02465","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://support.apple.com/kb/HT3549","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://securityreason.com/securityalert/3942","name":"3942","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"]},{"url":"http://security.gentoo.org/glsa/glsa-200811-05.xml","name":"GLSA-200811-05","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://marc.info/?l=bugtraq&m=124654546101607&w=2","name":"SSRT090085","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/501376/100/0/threaded","name":"20090302 rPSA-2009-0035-1 php php-cgi php-imap php-mcrypt php-mysql php-mysqli php-pgsql php-soap php-xsl php5 php5-cgi php5-imap php5-mcrypt php5-mysql php5-mysqli php5-pear php5-pgsql php5-soap php5-xsl","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://wiki.rpath.com/Advisories:rPSA-2009-0035","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securityfocus.com/bid/29796","name":"29796","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://secunia.com/advisories/35074","name":"35074","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://marc.info/?l=bugtraq&m=125631037611762&w=2","name":"SSRT090192","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2009/May/msg00002.html","name":"APPLE-SA-2009-05-12","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/43198","name":"php-chdir-ftoc-security-bypass(43198)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA09-133A.html","name":"TA09-133A","tags":["third-party-advisory","x_refsource_CERT","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2009/1297","name":"ADV-2009-1297","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.securitytracker.com/id?1020328","name":"1020328","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"http://marc.info/?l=bugtraq&m=124654546101607&w=2","name":"HPSBUX02431","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://secunia.com/advisories/35650","name":"35650","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://securityreason.com/achievement_securityalert/55","name":"20080617 PHP 5.2.6 chdir(),ftok() (standard ext) safe_mode bypass","tags":["third-party-advisory","x_refsource_SREASONRES","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T09:05:30.452Z"}}]}}}