CVE-2015-4642 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....
CriticalCVSS 9.8
EPSS 6.0%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | <= 5.4.41 | No fix listed |
| PHP | = 5.5.0 | No fix listed |
| PHP | = 5.5.1 | No fix listed |
| PHP | = 5.5.2 | No fix listed |
| PHP | = 5.5.3 | No fix listed |
| PHP | = 5.5.4 | No fix listed |
| PHP | = 5.5.5 | No fix listed |
| PHP | = 5.5.6 | No fix listed |
| PHP | = 5.5.7 | No fix listed |
| PHP | = 5.5.8 | No fix listed |
| PHP | = 5.5.9 | No fix listed |
| PHP | = 5.5.10 | No fix listed |
| PHP | = 5.5.11 | No fix listed |
| PHP | = 5.5.12 | No fix listed |
| PHP | = 5.5.13 | No fix listed |
| PHP | = 5.5.14 | No fix listed |
| PHP | = 5.5.15 | No fix listed |
| PHP | = 5.5.16 | No fix listed |
| PHP | = 5.5.17 | No fix listed |
| PHP | = 5.5.18 | No fix listed |
| PHP | = 5.5.19 | No fix listed |
| PHP | = 5.5.20 | No fix listed |
| PHP | = 5.5.21 | No fix listed |
| PHP | = 5.5.22 | No fix listed |
| PHP | = 5.5.23 | No fix listed |
Show 12 more
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | = 5.5.24 | No fix listed |
| PHP | = 5.5.25 | No fix listed |
| PHP | = 5.6.0 | No fix listed |
| PHP | = 5.6.1 | No fix listed |
| PHP | = 5.6.2 | No fix listed |
| PHP | = 5.6.3 | No fix listed |
| PHP | = 5.6.4 | No fix listed |
| PHP | = 5.6.5 | No fix listed |
| PHP | = 5.6.6 | No fix listed |
| PHP | = 5.6.7 | No fix listed |
| PHP | = 5.6.8 | No fix listed |
| PHP | = 5.6.9 | No fix listed |
References
- git.php.net
- [oss-security] 20150618 Re: PHP 5.6.10 / 5.5.26 / 5.4.42 CVE request mailing-list
- php.net
- 75290 vdb-entry
- 1032709 vdb-entry
- bugs.php.net exploit
- GLSA-201606-10 vendor-advisory