All vulnerabilities

Servers and applications

CVE-2008-7002

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.

Severity
High 7.2
Published
19 Aug 2009
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
0.8% in the next 30 daysHigher than 58% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
CWE-264
Attack
Needs local access · No login needed
Attacker can
Read data · Change data · Take it down
CVSS vector
AV:L/AC:L/Au:N/C:C/I:C/A:C
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Version 5.2.5

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2008-7002
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2008-7002