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.
References
Configurations
Configuration 1 (hide)
|
Information
Published : 2009-11-29 05:07
Updated : 2018-10-30 09:26
NVD link : CVE-2009-4018
Mitre link : CVE-2009-4018
JSON object : View
CWE
CWE-264
Permissions, Privileges, and Access Controls
Products Affected
php
- php