php: chdir(), ftok() (standard ext) safe_mode bypass safe_mode bypass
Published Jun 20, 2008
5.0
MEDIUMCVSS 2.0
EPSS 13.92%
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.
Affected products
No data.
- ≤ 5.2.6
- 5.0
- 5.0
- 5.0
- 5.0.0
- 5.0.1
- 5.0.2
- 5.0.3
- 5.0.4
- 5.0.5
- 5.1.0
- 5.1.1
- 5.1.2
- 5.1.3
- 5.1.4
- 5.1.5
- 5.1.6
- 5.2.0
- 5.2.1
- 5.2.2
- 5.2.3
- 5.2.4
- 5.2.5
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
Red Hat statement
We do not consider these to be security issues. For more details see https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1 and https://www.php.net/security-note.php
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (19 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 13.92% (0.13923) | 96.44th | v5 (v2026.06.15) |
| Jun 15, 2026 | 13.92% (0.13923) | 96.05th | v5 (v2026.06.15) |
| Dec 28, 2025 | 7.27% (0.07274) | 91.35th | v4 (v2025.03.14) |
| Dec 27, 2025 | 5.38% (0.05383) | 89.85th | v4 (v2025.03.14) |
| Oct 28, 2025 | 7.27% (0.07274) | 91.23th | v4 (v2025.03.14) |
| Oct 27, 2025 | 5.38% (0.05383) | 89.68th | v4 (v2025.03.14) |
| Oct 1, 2025 | 7.27% (0.07274) | 91.32th | v4 (v2025.03.14) |
| Jul 30, 2025 | 5.30% (0.05302) | 89.64th | v4 (v2025.03.14) |
| Jul 7, 2025 | 8.08% (0.08081) | 91.70th | v4 (v2025.03.14) |
| Mar 30, 2025 | 4.57% (0.04574) | 88.18th | v4 (v2025.03.14) |
| Mar 29, 2025 | 9.31% (0.09314) | 87.80th | v4 (v2025.03.14) |
| Mar 17, 2025 | 5.23% (0.05233) | 89.24th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.48% (0.00479) | 76.65th | v3 (v2023.03.01) |
| May 3, 2024 | 0.70% (0.00705) | 80.24th | v3 (v2023.03.01) |
| Dec 29, 2023 | 0.70% (0.00705) | 78.23th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.50% (0.00502) | 72.72th | v3 (v2023.03.01) |
| Mar 6, 2023 | 12.57% (0.12567) | 95.52th | v2 (v2022.01.01) |
| Apr 1, 2022 | 12.57% (0.12567) | 95.18th | v2 (v2022.01.01) |
| Feb 4, 2022 | 12.57% (0.12567) | 90.03th | v2 (v2022.01.01) |
References (21)
- http://lists.apple.com/archives/security-announce/2009/May/msg00002.html vendor-advisoryx_refsource_APPLE
- http://marc.info/?l=bugtraq&m=124654546101607&w=2 vendor-advisoryx_refsource_HP
- http://marc.info/?l=bugtraq&m=125631037611762&w=2 vendor-advisoryx_refsource_HP
- http://secunia.com/advisories/32746 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/35074 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/35650 third-party-advisoryx_refsource_SECUNIA
- http://security.gentoo.org/glsa/glsa-200811-05.xml vendor-advisoryx_refsource_GENTOO
- http://securityreason.com/achievement_securityalert/55 third-party-advisoryx_refsource_SREASONRES
- http://securityreason.com/securityalert/3942 third-party-advisoryx_refsource_SREASON
- http://support.apple.com/kb/HT3549 x_refsource_CONFIRM
- http://wiki.rpath.com/Advisories:rPSA-2009-0035 x_refsource_CONFIRM
- http://www.securityfocus.com/archive/1/501376/100/0/threaded mailing-listx_refsource_BUGTRAQ
- http://www.securityfocus.com/bid/29796 vdb-entryx_refsource_BID
- http://www.securitytracker.com/id?1020328 vdb-entryx_refsource_SECTRACK
- http://www.us-cert.gov/cas/techalerts/TA09-133A.html third-party-advisoryx_refsource_CERTUS Government Resource
- http://www.vupen.com/english/advisories/2009/1297 vdb-entryx_refsource_VUPEN
- https://access.redhat.com/security/cve/CVE-2008-2666 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=452207 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/43198 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2008-2666
- https://www.cve.org/CVERecord?id=CVE-2008-2666
Change history (0)
No recorded changes yet.