Link following in PHP - CVE-2007-4652
Published: July 29, 2017 / Updated: June 10, 2025
Vulnerability identifier: #VU110375
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2007-4652
CWE-ID: CWE-59
Exploitation vector: Local access
Exploit availability:
Public exploit is available
Vulnerability details
The vulnerability allows a local user to read and manipulate data.
The session extension in PHP before 5.2.4 might allow local users to bypass open_basedir restrictions via a session file that is a symlink.
Affected software
PHP
How to mitigate CVE-2007-4652
Install update from vendor's website.
PHP - addressed in versions 4.10, 5.2.3
Links to Public Exploits and PoC-codes
External References
- http://secunia.com/advisories/26642
- http://secunia.com/advisories/26822
- 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.trustix.org/errata/2007/0026/
- http://www.vupen.com/english/advisories/2007/3023
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36387
- https://issues.rpath.com/browse/RPL-1693
- https://issues.rpath.com/browse/RPL-1702