CVE-2009-4018
Published: 23 November 2009
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.
Notes
Author | Note |
---|---|
mdeslaur | PoC in php bug report safe_mode bug |
Priority
Status
Package | Release | Status |
---|---|---|
php5 Launchpad, Ubuntu, Debian |
dapper |
Released
(5.1.2-1ubuntu3.17)
|
hardy |
Released
(5.2.4-2ubuntu5.9)
|
|
intrepid |
Released
(5.2.6-2ubuntu4.5)
|
|
jaunty |
Released
(5.2.6.dfsg.1-3ubuntu4.4)
|
|
karmic |
Released
(5.2.10.dfsg.1-2ubuntu6.3)
|
|
upstream |
Released
(5.3.1)
|
|
Patches: upstream: http://svn.php.net/viewvc/?view=revision&revision=286360 |