{"id":"CVE-2015-4642","state":"PUBLISHED","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 on Windows allows remote attackers to execute arbitrary OS com","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.","publishedAt":"2016-05-16T10:00:00.000Z","updatedAt":"2024-08-06T06:18:12.095Z","severity":null,"assigner":"redhat","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.securitytracker.com/id/1032709","http://www.securityfocus.com/bid/75290","http://openwall.com/lists/oss-security/2015/06/18/6","http://php.net/ChangeLog-5.php","https://bugs.php.net/bug.php?id=69646","http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=d2ac264ffea5ca2e85640b6736e0c7cd4ee9a4a9","https://security.gentoo.org/glsa/201606-10"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:07.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2015/4xxx/CVE-2015-4642.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2015-4642","state":"PUBLISHED","datePublished":"2016-05-16T10:00:00.000Z","dateUpdated":"2024-08-06T06:18:12.095Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2015-06-18T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.securitytracker.com/id/1032709","name":"1032709","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.securityfocus.com/bid/75290","name":"75290","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://openwall.com/lists/oss-security/2015/06/18/6","name":"[oss-security] 20150618 Re: PHP 5.6.10 / 5.5.26 / 5.4.42 CVE request","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","name":"GLSA-201606-10","tags":["vendor-advisory","x_refsource_GENTOO"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2017-09-21T09:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2015-06-11T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2015-4642","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"1032709","refsource":"SECTRACK","url":"http://www.securitytracker.com/id/1032709"},{"name":"75290","refsource":"BID","url":"http://www.securityfocus.com/bid/75290"},{"name":"[oss-security] 20150618 Re: PHP 5.6.10 / 5.5.26 / 5.4.42 CVE request","refsource":"MLIST","url":"http://openwall.com/lists/oss-security/2015/06/18/6"},{"name":"http://php.net/ChangeLog-5.php","refsource":"CONFIRM","url":"http://php.net/ChangeLog-5.php"},{"name":"https://bugs.php.net/bug.php?id=69646","refsource":"CONFIRM","url":"https://bugs.php.net/bug.php?id=69646"},{"name":"http://git.php.net/?p=php-src.git;a=commit;h=d2ac264ffea5ca2e85640b6736e0c7cd4ee9a4a9","refsource":"CONFIRM","url":"http://git.php.net/?p=php-src.git;a=commit;h=d2ac264ffea5ca2e85640b6736e0c7cd4ee9a4a9"},{"name":"GLSA-201606-10","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201606-10"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.securitytracker.com/id/1032709","name":"1032709","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"http://www.securityfocus.com/bid/75290","name":"75290","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://openwall.com/lists/oss-security/2015/06/18/6","name":"[oss-security] 20150618 Re: PHP 5.6.10 / 5.5.26 / 5.4.42 CVE request","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugs.php.net/bug.php?id=69646","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=d2ac264ffea5ca2e85640b6736e0c7cd4ee9a4a9","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://security.gentoo.org/glsa/201606-10","name":"GLSA-201606-10","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T06:18:12.095Z"}}]}}}