Path traversal in PHP - CVE-2007-4663
Published: July 29, 2017 / Updated: June 8, 2025
PHP
Detailed vulnerability description
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to input validation error when processing directory traversal sequences in PHP before 5.2.4. A remote authenticated attacker can send a specially crafted HTTP request and attackers to bypass open_basedir restrictions via unspecified vectors involving the glob function.
How to mitigate CVE-2007-4663
Sources
- http://secunia.com/advisories/26642
- http://secunia.com/advisories/26838
- http://secunia.com/advisories/27102
- http://secunia.com/advisories/27377
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
- http://www.php.net/ChangeLog-5.php#5.2.4
- http://www.php.net/releases/5_2_4.php
- http://www.vupen.com/english/advisories/2007/3023
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36386
- https://issues.rpath.com/browse/RPL-1693
- https://issues.rpath.com/browse/RPL-1702