Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2008-2666

published

php: chdir(), ftok() (standard ext) safe_mode bypass safe_mode bypass

Title from Red Hat VEX

Published
20 Jun 2008, 01:00:00 UTC
Updated
07 Aug 2024, 09:05:30 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre

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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

17
  • APPLE-SA-2009-05-12 http://lists.apple.com/archives/security-announce/2009/May/msg00002.html vendor-advisory, x_refsource_APPLE, x_transferred Contributors: mitre (cna), CVE (adp)
  • SSRT090085 http://marc.info/?l=bugtraq&m=124654546101607&w=2 vendor-advisory, x_refsource_HP, x_transferred Contributors: mitre (cna), CVE (adp)
  • HPSBUX02465 http://marc.info/?l=bugtraq&m=125631037611762&w=2 vendor-advisory, x_refsource_HP, x_transferred Contributors: mitre (cna), CVE (adp)
  • 32746 http://secunia.com/advisories/32746 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 35074 http://secunia.com/advisories/35074 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 35650 http://secunia.com/advisories/35650 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • GLSA-200811-05 http://security.gentoo.org/glsa/glsa-200811-05.xml vendor-advisory, x_refsource_GENTOO, x_transferred Contributors: mitre (cna), CVE (adp)
  • 20080617 PHP 5.2.6 chdir(),ftok() (standard ext) safe_mode bypass http://securityreason.com/achievement_securityalert/55 third-party-advisory, x_refsource_SREASONRES, x_transferred Contributors: mitre (cna), CVE (adp)
  • 3942 http://securityreason.com/securityalert/3942 third-party-advisory, x_refsource_SREASON, x_transferred Contributors: mitre (cna), CVE (adp)
  • http://support.apple.com/kb/HT3549 x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • http://wiki.rpath.com/Advisories:rPSA-2009-0035 x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • 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 http://www.securityfocus.com/archive/1/501376/100/0/threaded mailing-list, x_refsource_BUGTRAQ, x_transferred Contributors: mitre (cna), CVE (adp)
  • 29796 http://www.securityfocus.com/bid/29796 vdb-entry, x_refsource_BID, x_transferred Contributors: mitre (cna), CVE (adp)
  • 1020328 http://www.securitytracker.com/id?1020328 vdb-entry, x_refsource_SECTRACK, x_transferred Contributors: mitre (cna), CVE (adp)
  • TA09-133A http://www.us-cert.gov/cas/techalerts/TA09-133A.html third-party-advisory, x_refsource_CERT, x_transferred Contributors: mitre (cna), CVE (adp)
  • ADV-2009-1297 http://www.vupen.com/english/advisories/2009/1297 vdb-entry, x_refsource_VUPEN, x_transferred Contributors: mitre (cna), CVE (adp)
  • php-chdir-ftoc-security-bypass(43198) https://exchange.xforce.ibmcloud.com/vulnerabilities/43198 vdb-entry, x_refsource_XF, x_transferred Contributors: mitre (cna), CVE (adp)

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
203113ca3354b6e6a37b44e132a1cc88305d669d820be58e36e1d24b02996ed2
Ingested
23 Sep 2026, 07:38:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected