CVE-2015-4642
CRITICALPHP < 5.4.42 - OS Command Injection via escapeshellarg Function
Title source: llmDescription
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.
References (7)
Core 7
Core References
Third Party Advisory, VDB Entry vdb-entry
x_refsource_sectrack
http://www.securitytracker.com/id/1032709
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/75290
Mailing List mailing-list
x_refsource_mlist
http://openwall.com/lists/oss-security/2015/06/18/6
Various Sources x_refsource_confirm
http://php.net/ChangeLog-5.php
Exploit x_refsource_confirm
https://bugs.php.net/bug.php?id=69646
Various Sources x_refsource_confirm
http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=d2ac264ffea5ca2e85640b6736e0c7cd4ee9a4a9
Third Party Advisory vendor-advisory
x_refsource_gentoo
https://security.gentoo.org/glsa/201606-10
Scores
CVSS v3
9.8
EPSS
0.0595
EPSS Percentile
90.8%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-78
Status
published
Products (37)
php/php
5.5.0
php/php
5.5.1
php/php
5.5.2
php/php
5.5.3
php/php
5.5.4
php/php
5.5.5
php/php
5.5.6
php/php
5.5.7
php/php
5.5.8
php/php
5.5.9
... and 27 more
Published
May 16, 2016
Tracked Since
Feb 18, 2026