Vulnerability CVE-2008-2666


Published: 2008-06-19   Modified: 2012-02-12

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.

See advisories in our WLB2 database:
Topic
Author
Date
Med.
PHP 5.2.6 safe_mode bypass PoC
Maksymilian Arci...
29.06.2008
Med.
PHP 5.2.6 chdir(),ftok() (standard ext) safe_mode bypass
Maksymilian Arci...
17.06.2008

Type:

CWE-22

(Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'))

CVSS2 => (AV:N/AC:L/Au:N/C:P/I:N/A:N)

CVSS Base Score
Impact Subscore
Exploitability Subscore
5/10
2.9/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
None
None
Affected software
PHP -> PHP 

 References:
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://security.gentoo.org/glsa/glsa-200811-05.xml
http://securityreason.com/achievement_securityalert/55
http://securityreason.com/securityalert/3942
http://support.apple.com/kb/HT3549
http://wiki.rpath.com/Advisories:rPSA-2009-0035
http://www.securityfocus.com/archive/1/501376/100/0/threaded
http://www.securityfocus.com/bid/29796
http://www.securitytracker.com/id?1020328
http://www.us-cert.gov/cas/techalerts/TA09-133A.html
http://www.vupen.com/english/advisories/2009/1297
https://exchange.xforce.ibmcloud.com/vulnerabilities/43198

Copyright 2024, cxsecurity.com

 

Back to Top