{"id":"CVE-2008-2666","published":"2008-06-20T01:00:00Z","modified":"2024-08-07T09:05:30Z","title":"Multiple directory traversal vulnerabilities in PHP 5.2.6 and earlier allow context-dependent attackers to bypass…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.13923,"percentile":0.96627,"provenance":"source"},"cwes":[],"references":[{"url":"http://secunia.com/advisories/32746","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://marc.info/?l=bugtraq&m=125631037611762&w=2","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://support.apple.com/kb/HT3549","tags":["x_refsource_CONFIRM"]},{"url":"http://securityreason.com/securityalert/3942","tags":["third-party-advisory","x_refsource_SREASON"]},{"url":"http://security.gentoo.org/glsa/glsa-200811-05.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://marc.info/?l=bugtraq&m=124654546101607&w=2","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://www.securityfocus.com/archive/1/501376/100/0/threaded","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","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://secunia.com/advisories/35074","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://lists.apple.com/archives/security-announce/2009/May/msg00002.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/43198","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA09-133A.html","tags":["third-party-advisory","x_refsource_CERT"]},{"url":"http://www.vupen.com/english/advisories/2009/1297","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.securitytracker.com/id?1020328","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://secunia.com/advisories/35650","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://securityreason.com/achievement_securityalert/55","tags":["third-party-advisory","x_refsource_SREASONRES"]}],"priority":{"score":24.3,"factors":[{"name":"EPSS percentile","points":19.33},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2008-06-18"},"first":{"date":"2008-06-18","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/31937"},"provenance":"source"},"summary":{"text":"Multiple directory traversal flaws in PHP 5.2.6 and earlier affect the chdir and ftok functions, which fail to properly handle path sequences in their arguments. An attacker who can influence the arguments to these functions, and who can create a subdirectory named \"http:\", can use ../ sequences in an http URL to bypass safe_mode restrictions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:49:07Z"},"euvd":{"id":"EUVD-2008-2661","exploited":false,"provenance":"source"},"exploits":[{"id":31937,"url":"https://www.exploit-db.com/exploits/31937","title":"PHP 5.2.6 - 'chdir()' Function http URL Argument Safe_mode Restriction Bypass","date":"2008-06-18","verified":true,"provenance":"source"}]}