CVE-2009-4018

php: proc_open() safe mode restriction bypass

Published Nov 27, 2009 CVSS 2.0 · 7.5 High EPSS 11.3% KEV · Not listed
Description
The proc_open function in ext/standard/proc_open.c in PHP before 5.2.11 and 5.3.x before 5.3.1 does not enforce the (1) safe_mode_allowed_env_vars and (2) safe_mode_protected_env_vars directives, which allows context-dependent attackers to execute programs with an arbitrary environment via the env parameter, as demonstrated by a crafted value of the LD_LIBRARY_PATH environment variable.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-862-1 PHP vulnerabilities
Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 7, 2024, 6:45 AM
Reserved
Nov 20, 2009, 12:00 AM
Status
Modified
Published
Nov 29, 2009, 1:07 PM
Modified
Jun 16, 2026, 11:12 PM
Severity
Public date
Jul 23, 2009, 12:00 AM