CVE-2015-4642
Severity CVSS v4.0:
Pending analysis
Type:
CWE-78
OS Command Injections
Publication date:
16/05/2016
Last modified:
12/04/2025
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.
Impact
Base Score 3.x
9.80
Severity 3.x
CRITICAL
Base Score 2.0
10.00
Severity 2.0
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:microsoft:windows:*:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 5.4.41 (including) | |
| cpe:2.3:a:php:php:5.5.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.5.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.5.2:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.5.3:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.5.4:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.5.5:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.5.6:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.5.7:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.5.8:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.5.9:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.5.10:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.5.11:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.5.12:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- http://git.php.net/?p=php-src.git%3Ba%3Dcommit%3Bh%3Dd2ac264ffea5ca2e85640b6736e0c7cd4ee9a4a9
- http://openwall.com/lists/oss-security/2015/06/18/6
- http://php.net/ChangeLog-5.php
- http://www.securityfocus.com/bid/75290
- http://www.securitytracker.com/id/1032709
- https://bugs.php.net/bug.php?id=69646
- https://security.gentoo.org/glsa/201606-10
- http://git.php.net/?p=php-src.git%3Ba%3Dcommit%3Bh%3Dd2ac264ffea5ca2e85640b6736e0c7cd4ee9a4a9
- http://openwall.com/lists/oss-security/2015/06/18/6
- http://php.net/ChangeLog-5.php
- http://www.securityfocus.com/bid/75290
- http://www.securitytracker.com/id/1032709
- https://bugs.php.net/bug.php?id=69646
- https://security.gentoo.org/glsa/201606-10



