Critical severity · published May 16, 2016
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…
9.8
CVSS
6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)6.0% · higher than 93% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PH
PHP · PHP
through 5.4.41; 5.5.0; 5.5.1; 5.5.2; 5.5.3; 5.5.4; +31 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2015-4642
CVE.org
https://www.cve.org/CVERecord?id=CVE-2015-4642
git.php.net
http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=d2ac264ffea5ca2e85640b6736e0c7cd4ee9a4a9
openwall.com
http://openwall.com/lists/oss-security/2015/06/18/6
php.net
http://php.net/ChangeLog-5.php
www.securityfocus.com
http://www.securityfocus.com/bid/75290
www.securitytracker.com
http://www.securitytracker.com/id/1032709
Exploit
https://bugs.php.net/bug.php?id=69646
More from PHP
9.8
CVE-2026-109618
RCE via OOM corruption
9.8
CVE-2024-4577
Argument Injection in PHP-CGI
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2016-10033
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute…
9.8
CVE-2012-1823
PHP-CGI Query String Parameter Vulnerability
