CVE-2009-4018

Metadata

CVE-2009-4018
7.5
bugs.php.net, marc.info, marc.info, marc.info, svn.php.net, svn.php.net, svn.php.net, itrc.hp.com, mandriva.com, openwall.com, php.net, securityfocus.com
2009-11-29
2017-09-21 21:09

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.

Related Vulnerabilities

platform vulnerability
CVE-2009-4018 php5
CVE-2009-4018