CVE-2007-4652 Path traversal in n/a
Local attackers can bypass open_basedir restrictions via symlinked session files, potentially reading restricted files.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2007-4652?
CVE-2007-4652 is a medium-severity path traversal vulnerability in Php Php, published on 4 Sep 2007. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-59
Which versions are affected by CVE-2007-4652?
It affects 1 product.
Products include Php Php.
How do I fix CVE-2007-4652?
No fix has been published for CVE-2007-4652 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2007-4652 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-4652 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Php Php
Sources
Also known as GHSA-j7jp-rgph-7546.