Link following in PHP - CVE-2007-4652

 

Link following in PHP - CVE-2007-4652

Published: July 29, 2017 / Updated: June 10, 2025


Vulnerability identifier: #VU110375
CSH Severity: Low
CVSS v4.0: 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/E:P/U:Clear
CVE-ID: CVE-2007-4652
CWE-ID: CWE-59
Exploitation vector: Local access
Exploit availability: Public exploit is available
Vendor: PHP Group
Affected software:
PHP

Detailed vulnerability description

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.


How to mitigate CVE-2007-4652

Install update from vendor's website.

Sources