CVE-2009-4018: High severity php vulnerability
The procopen function in ext/standard/procopen.c in PHP before 5.2.11 and 5.3.x before 5.3.1 does not enforce the (1) safemodeallowedenvvars and (2) safemodeprotectedenvvars 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 LDLIBRARYPATH environment variable.
Affected Software
Remediation
Patch Available
Patch Available
Patch Available
Patch Available
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2009-4018?
CVE-2009-4018 has been classified as a critical vulnerability due to its ability to allow attackers to execute arbitrary programs with a malicious environment.
How do I fix CVE-2009-4018?
To fix CVE-2009-4018, upgrade your PHP installation to version 5.2.11 or later, or 5.3.1 or later.
Which versions of PHP are affected by CVE-2009-4018?
CVE-2009-4018 affects PHP versions before 5.2.11 and 5.3.x before 5.3.1, including several earlier versions.
What types of attacks can result from CVE-2009-4018?
The vulnerability can lead to remote code execution, allowing attackers to run arbitrary code by manipulating the environment variables.
Is CVE-2009-4018 still a concern for users today?
While CVE-2009-4018 primarily affects outdated PHP versions, any systems still utilizing these versions are at risk and should be updated.