CVE-2008-7002

php: open_basedir restriction bypass

Published Aug 18, 2009 CVSS 2.0 · 7.2 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2008-6961 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.
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 16, 2024, 5:28 PM
Reserved
Aug 17, 2009, 12:00 AM
Status
Modified
Published
Aug 19, 2009, 5:24 AM
Modified
Jun 16, 2026, 11:03 PM
Severity
Public date
Sep 9, 2008, 12:00 AM