CVE-2009-4018
Last modified
CVE-2009-4018 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 11.34% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Php | Php | <= 5.2.10 | — |
| Php | Php | 1.0 | — |
| Php | Php | 2.0 | — |
| Php | Php | 2.0b10 | — |
| Php | Php | 3.0 | — |
| Php | Php | 3.0.1 | — |
| Php | Php | 3.0.2 | — |
| Php | Php | 3.0.3 | — |
| Php | Php | 3.0.4 | — |
| Php | Php | 3.0.5 | — |
| Php | Php | 3.0.6 | — |
| Php | Php | 3.0.7 | — |
| Php | Php | 3.0.8 | — |
| Php | Php | 3.0.9 | — |
| Php | Php | 3.0.10 | — |
| Php | Php | 3.0.11 | — |
| Php | Php | 3.0.12 | — |
| Php | Php | 3.0.13 | — |
| Php | Php | 3.0.14 | — |
| Php | Php | 3.0.15 | — |
| Php | Php | 3.0.16 | — |
| Php | Php | 3.0.17 | — |
| Php | Php | 3.0.18 | — |
| Php | Php | 4 | — |
| Php | Php | 4.0 | — |
| Php | Php | 4.0.0 | — |
| Php | Php | 4.0.1 | — |
| Php | Php | 4.0.2 | — |
| Php | Php | 4.0.3 | — |
| Php | Php | 4.0.4 | — |
| Php | Php | 4.0.5 | — |
| Php | Php | 4.0.6 | — |
| Php | Php | 4.0.7 | — |
| Php | Php | 4.1.0 | — |
| Php | Php | 4.1.1 | — |
| Php | Php | 4.1.2 | — |
| Php | Php | 4.2 | — |
| Php | Php | 4.2.0 | — |
| Php | Php | 4.2.1 | — |
| Php | Php | 4.2.2 | — |
| Php | Php | 4.2.3 | — |
| Php | Php | 4.3.0 | — |
| Php | Php | 4.3.1 | — |
| Php | Php | 4.3.2 | — |
| Php | Php | 4.3.3 | — |
| Php | Php | 4.3.4 | — |
| Php | Php | 4.3.5 | — |
| Php | Php | 4.3.6 | — |
| Php | Php | 4.3.7 | — |
| Php | Php | 4.3.8 | — |
Showing 50 of 86 affected configurations. See NVD for the full list.
References
- http://bugs.php.net/bug.php?id=49026Exploit, Patch
- http://bugs.php.net/bug.php?id=49026Exploit, Patch
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2009-4018?
How severe is CVE-2009-4018?
How do I fix CVE-2009-4018?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2009
- CVE-2009-4012Multiple integer overflows in LibThai before 0.1.13 might al…
- CVE-2009-4013Multiple directory traversal vulnerabilities in Lintian 1.23…9.8
- CVE-2009-4014Multiple format string vulnerabilities in Lintian 1.23.x thr…
- CVE-2009-4015Lintian 1.23.x through 1.23.28, 1.24.x through 1.24.2.1, and…
- CVE-2009-4016Integer underflow in the clean_string function in irc_string…
- CVE-2009-4017PHP before 5.2.12 and 5.3.x before 5.3.1 does not restrict t…
- CVE-2009-4019mysqld in MySQL 5.0.x before 5.0.88 and 5.1.x before 5.1.41 …
- CVE-2009-4020Stack-based buffer overflow in the hfs subsystem in the Linu…
- CVE-2009-4021The fuse_direct_io function in fs/fuse/file.c in the fuse su…
- CVE-2009-4022Unspecified vulnerability in ISC BIND 9.0.x through 9.3.x, 9…
- CVE-2009-4023Argument injection vulnerability in the sendmail implementat…
- CVE-2009-4024Argument injection vulnerability in the ping function in Pin…
Are you affected by CVE-2009-4018?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
