CVE-2008-7002 Security feature bypass in n/a
Local attackers can bypass open_basedir and safe_mode_exec_dir restrictions to execute programs outside intended directories using specific PHP functions.
- 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-2008-7002?
CVE-2008-7002 is a high-severity vulnerability in Php Php, published on 18 Aug 2009. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
PHP 5.2.5 does not enforce (a) open_basedir and (b) safe_mode_exec_dir restrictions for certain functions, which might allow local users to bypass intended access restrictions and call programs outside of the intended directory via the (1) exec, (2) system, (3) shell_exec, (4) passthru, or (5) popen functions, possibly involving pathnames such as "C:" drive notation.
Weakness: CWE-264
Which versions are affected by CVE-2008-7002?
It affects 1 product.
Products include Php Php.
How do I fix CVE-2008-7002?
No fix has been published for CVE-2008-7002 yet. Limit exposure of the affected software until one is available.
Is CVE-2008-7002 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2008-7002 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Php Php
Sources
Also known as GHSA-wjcc-p64r-q7w2.