SecurityContext

CVE-2008-2665: PHP - Path Traversal

  • Cve: CVE-2008-2665
  • Name: PHP - Path Traversal
  • 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.
  • Impact: Attackers can access arbitrary files outside the intended directory, potentially leading to information disclosure or system compromise.
  • Remediation: Update to PHP 5.2.7 or later versions that fix this issue.
  • Vulnerability type: path_traversal
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5
  • Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
  • Epss score: 0.03377
  • Epss percentile: 0.8908
  • Assignee: [email protected]
  • Published at: 2008-06-20T01:41:00Z
  • Age in days: 6731
  • Modified at: 2026-06-16T22:54:11Z
  • Public exploits total: 1
  • References total: 17
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2008-2665
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Public exploits

UrlSourceAdded date
http://securityreason.com/achievement_securityalert/54nvd2008-06-20

References

Same in every row:

  • Source: nvd
UrlTags
http://securityreason.com/achievement_securityalert/54Exploit
http://www.us-cert.gov/cas/techalerts/TA09-133A.htmlUS Government Resource
http://lists.apple.com/archives/security-announce/2009/May/msg00002.html
http://marc.info/?l=bugtraq&m=124654546101607&w=2
http://marc.info/?l=bugtraq&m=125631037611762&w=2
http://secunia.com/advisories/32746
http://secunia.com/advisories/35074
http://secunia.com/advisories/35650
http://security.gentoo.org/glsa/glsa-200811-05.xml
http://securityreason.com/securityalert/3941

Products

ProductAffectedPlatform boundSourcesUrl
php:php= 5.2.6nonvd/v1/products/php/php

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2008-06-20
  • Remote: yes
  • Exposed hosts: 6175026
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports