{"id":"CVE-2015-4642","published":"2016-05-16T10:00:00Z","modified":"2024-08-06T06:18:12Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.05999,"percentile":0.93497,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securitytracker.com/id/1032709","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.securityfocus.com/bid/75290","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://openwall.com/lists/oss-security/2015/06/18/6","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM"]},{"url":"https://bugs.php.net/bug.php?id=69646","tags":["x_refsource_CONFIRM"]},{"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=d2ac264ffea5ca2e85640b6736e0c7cd4ee9a4a9","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/201606-10","tags":["vendor-advisory","x_refsource_GENTOO"]}],"priority":{"score":18.7,"factors":[{"name":"EPSS percentile","points":18.7}]},"summary":{"text":"The escapeshellarg function in ext/standard/exec.c of PHP (before 5.4.42, 5.5.x before 5.5.26, and 5.6.x before 5.6.10) mishandles argument escaping on Windows. An attacker with remote access can execute arbitrary OS commands by supplying a crafted string to an application that passes command-line arguments through escapeshellarg into the PHP system function; no authentication is indicated, but the application must accept such input.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:01:54Z"},"euvd":{"id":"EUVD-2015-4661","exploited":false,"provenance":"source"}}