CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register   Reset Password   Activate Account
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2008-2666

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.
Publish Date : 2008-06-19 Last Update Date : 2012-10-30
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
5.0
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact None (There is no impact to the integrity of the system)
Availability Impact None (There is no impact to the availability of the system.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Directory traversalBypass a restriction or similar
CWE ID 22

- Vendor Statements

We do not consider these to be security issues. For more details see http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1 and http://www.php.net/security-note.php
Source: Redhat

- Products Affected By CVE-2008-2666

# Product Type Vendor Product Version Update Edition Language
1 Application PHP PHP 5.0 RC2 Version Details Vulnerabilities
2 Application PHP PHP 5.0 RC3 Version Details Vulnerabilities
3 Application PHP PHP 5.0 RC1 Version Details Vulnerabilities
4 Application PHP PHP 5.0.0 Version Details Vulnerabilities
5 Application PHP PHP 5.0.1 Version Details Vulnerabilities
6 Application PHP PHP 5.0.2 Version Details Vulnerabilities
7 Application PHP PHP 5.0.3 Version Details Vulnerabilities
8 Application PHP PHP 5.0.4 Version Details Vulnerabilities
9 Application PHP PHP 5.0.5 Version Details Vulnerabilities
10 Application PHP PHP 5.1.0 Version Details Vulnerabilities
11 Application PHP PHP 5.1.1 Version Details Vulnerabilities
12 Application PHP PHP 5.1.2 Version Details Vulnerabilities
13 Application PHP PHP 5.1.3 Version Details Vulnerabilities
14 Application PHP PHP 5.1.4 Version Details Vulnerabilities
15 Application PHP PHP 5.1.5 Version Details Vulnerabilities
16 Application PHP PHP 5.1.6 Version Details Vulnerabilities
17 Application PHP PHP 5.2.0 Version Details Vulnerabilities
18 Application PHP PHP 5.2.1 Version Details Vulnerabilities
19 Application PHP PHP 5.2.2 Version Details Vulnerabilities
20 Application PHP PHP 5.2.3 Version Details Vulnerabilities
21 Application PHP PHP 5.2.4 Version Details Vulnerabilities
22 Application PHP PHP 5.2.5 Version Details Vulnerabilities
23 Application PHP PHP 5.2.6 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
PHP PHP 23

- References For CVE-2008-2666

http://lists.apple.com/archives/security-announce/2009/May/msg00002.html
APPLE APPLE-SA-2009-05-12
http://marc.info/?l=bugtraq&m=125631037611762&w=2
HP SSRT090192
http://securityreason.com/achievement_securityalert/55
SREASONRES 20080617 PHP 5.2.6 chdir(),ftok() (standard ext) safe_mode bypass
http://security.gentoo.org/glsa/glsa-200811-05.xml
GENTOO GLSA-200811-05
http://secunia.com/advisories/35650
SECUNIA 35650
http://secunia.com/advisories/35074
SECUNIA 35074
http://secunia.com/advisories/32746
SECUNIA 32746
http://support.apple.com/kb/HT3549 CONFIRM
http://securityreason.com/securityalert/3942
SREASON 3942
http://www.securityfocus.com/archive/1/archive/1/501376/100/0/threaded
BUGTRAQ 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://wiki.rpath.com/Advisories:rPSA-2009-0035 CONFIRM
http://marc.info/?l=bugtraq&m=124654546101607&w=2
HP SSRT090085
http://www.securityfocus.com/bid/29796
BID 29796 PHP 'chdir()' and 'ftok()' 'safe_mode' Multiple Security Bypass Vulnerabilities Release Date:2009-10-22
http://www.securitytracker.com/id?1020328
SECTRACK 1020328
http://xforce.iss.net/xforce/xfdb/43198
XF php-chdir-ftoc-security-bypass(43198)
http://www.vupen.com/english/advisories/2009/1297
VUPEN ADV-2009-1297
http://www.us-cert.gov/cas/techalerts/TA09-133A.html
CERT TA09-133A

- Metasploit Modules Related To CVE-2008-2666

There are not any metasploit modules related to this vulnerability (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.