CVE-2009-4018

UnknownEPSS 11.34%

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

EPSS Probability
11.34%

95.4th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
PhpPhp<= 5.2.10—
PhpPhp1.0—
PhpPhp2.0—
PhpPhp2.0b10—
PhpPhp3.0—
PhpPhp3.0.1—
PhpPhp3.0.2—
PhpPhp3.0.3—
PhpPhp3.0.4—
PhpPhp3.0.5—
PhpPhp3.0.6—
PhpPhp3.0.7—
PhpPhp3.0.8—
PhpPhp3.0.9—
PhpPhp3.0.10—
PhpPhp3.0.11—
PhpPhp3.0.12—
PhpPhp3.0.13—
PhpPhp3.0.14—
PhpPhp3.0.15—
PhpPhp3.0.16—
PhpPhp3.0.17—
PhpPhp3.0.18—
PhpPhp4—
PhpPhp4.0—
PhpPhp4.0.0—
PhpPhp4.0.1—
PhpPhp4.0.2—
PhpPhp4.0.3—
PhpPhp4.0.4—
PhpPhp4.0.5—
PhpPhp4.0.6—
PhpPhp4.0.7—
PhpPhp4.1.0—
PhpPhp4.1.1—
PhpPhp4.1.2—
PhpPhp4.2—
PhpPhp4.2.0—
PhpPhp4.2.1—
PhpPhp4.2.2—
PhpPhp4.2.3—
PhpPhp4.3.0—
PhpPhp4.3.1—
PhpPhp4.3.2—
PhpPhp4.3.3—
PhpPhp4.3.4—
PhpPhp4.3.5—
PhpPhp4.3.6—
PhpPhp4.3.7—
PhpPhp4.3.8—

Showing 50 of 86 affected configurations. See NVD for the full list.

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2009-4018?
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.
How severe is CVE-2009-4018?
Severity scoring for CVE-2009-4018 is pending analysis. The EPSS model estimates a 11.34% probability of exploitation in the next 30 days.
How do I fix CVE-2009-4018?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2009

Are you affected by CVE-2009-4018?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST