CVE-2015-4642: OS Command Injection
The escapeshellarg function in ext/standard/exec.c in PHP before 5.4.42, 5.5.x before 5.5.26, and 5.6.x before 5.6.10 on Windows allows remote attackers to execute arbitrary OS commands via a crafted string to an application that accepts command-line arguments for a call to the PHP system function.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2015-4642?
CVE-2015-4642 is considered a high severity vulnerability due to its potential to allow remote attackers to execute arbitrary OS commands.
How do I fix CVE-2015-4642?
To mitigate CVE-2015-4642, upgrade to PHP versions 5.4.42, 5.5.26, or 5.6.10 and later.
Which PHP versions are affected by CVE-2015-4642?
CVE-2015-4642 affects PHP versions before 5.4.42, all 5.5.x versions before 5.5.26, and all 5.6.x versions before 5.6.10.
Can CVE-2015-4642 be exploited on Windows systems?
Yes, CVE-2015-4642 can be exploited on Windows systems running vulnerable versions of PHP.
What types of applications are at risk from CVE-2015-4642?
Applications that utilize the PHP system function and pass user input to it are at risk of CVE-2015-4642.