{"id":"CVE-2008-2665","state":"PUBLISHED","title":"Directory traversal vulnerability in the posix_access function in PHP 5.2.6 and earlier allows remote attackers to bypass safe_mode restrictions via a .. (dot dot) in an http URL, ","description":"Directory traversal vulnerability in the posix_access function in PHP 5.2.6 and earlier allows remote attackers to bypass safe_mode restrictions via a .. (dot dot) in an http URL, which results in the URL being canonicalized to a local filename after the safe_mode check has successfully run.","publishedAt":"2008-06-20T01:00:00.000Z","updatedAt":"2024-08-07T09:05:30.351Z","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/achievement_securityalert/54","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.securitytracker.com/id?1020327","http://secunia.com/advisories/35074","http://lists.apple.com/archives/security-announce/2009/May/msg00002.html","http://www.securityfocus.com/bid/29797","http://www.us-cert.gov/cas/techalerts/TA09-133A.html","http://www.vupen.com/english/advisories/2009/1297","https://exchange.xforce.ibmcloud.com/vulnerabilities/43196","http://secunia.com/advisories/35650","http://securityreason.com/securityalert/3941"],"weaknesses":[],"ingestedAt":"2026-10-29T19:38:54.183Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2008/2xxx/CVE-2008-2665.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2008-2665","state":"PUBLISHED","datePublished":"2008-06-20T01:00:00.000Z","dateUpdated":"2024-08-07T09:05:30.351Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2008-06-10T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Directory traversal vulnerability in the posix_access function in PHP 5.2.6 and earlier allows remote attackers to bypass safe_mode restrictions via a .. (dot dot) in an http URL, which results in the URL being canonicalized to a local filename after the safe_mode check has successfully run."}],"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/achievement_securityalert/54","name":"20080617 PHP 5.2.6 posix_access() (posix ext) safe_mode bypass","tags":["third-party-advisory","x_refsource_SREASONRES"]},{"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.securitytracker.com/id?1020327","name":"1020327","tags":["vdb-entry","x_refsource_SECTRACK"]},{"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":"http://www.securityfocus.com/bid/29797","name":"29797","tags":["vdb-entry","x_refsource_BID"]},{"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://marc.info/?l=bugtraq&m=124654546101607&w=2","name":"HPSBUX02431","tags":["vendor-advisory","x_refsource_HP"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/43196","name":"php-posixaccess-security-bypass(43196)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://secunia.com/advisories/35650","name":"35650","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://securityreason.com/securityalert/3941","name":"3941","tags":["third-party-advisory","x_refsource_SREASON"]}],"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-2665","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":"Directory traversal vulnerability in the posix_access function in PHP 5.2.6 and earlier allows remote attackers to bypass safe_mode restrictions via a .. (dot dot) in an http URL, which results in the URL being canonicalized to a local filename after the safe_mode check has successfully run."}]},"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":"20080617 PHP 5.2.6 posix_access() (posix ext) safe_mode bypass","refsource":"SREASONRES","url":"http://securityreason.com/achievement_securityalert/54"},{"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":"1020327","refsource":"SECTRACK","url":"http://www.securitytracker.com/id?1020327"},{"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":"29797","refsource":"BID","url":"http://www.securityfocus.com/bid/29797"},{"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":"HPSBUX02431","refsource":"HP","url":"http://marc.info/?l=bugtraq&m=124654546101607&w=2"},{"name":"php-posixaccess-security-bypass(43196)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/43196"},{"name":"35650","refsource":"SECUNIA","url":"http://secunia.com/advisories/35650"},{"name":"3941","refsource":"SREASON","url":"http://securityreason.com/securityalert/3941"}]}}},"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/achievement_securityalert/54","name":"20080617 PHP 5.2.6 posix_access() (posix ext) safe_mode bypass","tags":["third-party-advisory","x_refsource_SREASONRES","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.securitytracker.com/id?1020327","name":"1020327","tags":["vdb-entry","x_refsource_SECTRACK","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":"http://www.securityfocus.com/bid/29797","name":"29797","tags":["vdb-entry","x_refsource_BID","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://marc.info/?l=bugtraq&m=124654546101607&w=2","name":"HPSBUX02431","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/43196","name":"php-posixaccess-security-bypass(43196)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://secunia.com/advisories/35650","name":"35650","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://securityreason.com/securityalert/3941","name":"3941","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T09:05:30.351Z"}}]}}}