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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published: 2009-11-27T19:00:00

Updated: 2024-08-07T06:45:50.944Z

Reserved: 2009-11-20T00:00:00

Link: CVE-2009-4018

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2009-11-29T13:07:32.017

Modified: 2018-10-30T16:26:21.043

Link: CVE-2009-4018

cve-icon Redhat

Severity :

Publid Date: 2009-07-23T00:00:00Z

Links: CVE-2009-4018 - Bugzilla