First published: Fri Jun 20 2008(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
PHP | =5.2.6 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2008-2665 is classified as a critical vulnerability due to its potential to allow remote attackers to bypass safe_mode restrictions.
To fix CVE-2008-2665, upgrade to PHP version 5.2.7 or later, which includes the necessary patches to address this vulnerability.
CVE-2008-2665 affects PHP version 5.2.6 and earlier.
CVE-2008-2665 enables directory traversal attacks that could lead to unauthorized file access on the server.
No, CVE-2008-2665 does not exist in PHP versions later than 5.2.6, as the vulnerability was addressed in subsequent updates.