CVE-2009-4018
HIGHEPSS 95th pctlDescription
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.
CVSS v2 Vector
No CVSS vector data available.
Exploit Intelligence
Very high risk: more likely to be exploited than 95% of all known CVEs.
References
- http://bugs.php.net/bug.php?id=49026
- http://marc.info/?l=bugtraq&m=127680701405735&w=2
- http://marc.info/?l=oss-security&m=125886770008678&w=2
- http://marc.info/?l=oss-security&m=125897935330618&w=2
- http://secunia.com/advisories/40262
- http://secunia.com/advisories/41480
- http://secunia.com/advisories/41490
- http://svn.php.net/viewvc/?view=revision&revision=286360
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/standard/proc_open.c?r1=286360&r2=286359&pathrev=286360
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/standard/proc_open.c?r1=286360&r2=286359&pathrev=286360
- http://www.itrc.hp.com/service/cki/docDisplay.do?docId=emr_na-c02512995
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:303
- http://www.openwall.com/lists/oss-security/2009/11/23/15
- http://www.php.net/ChangeLog-5.php
- http://www.securityfocus.com/bid/37138
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7256
Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-23.