CVE-2015-4642

9.8 CRITICAL
Published: May 16, 2016 Modified: May 06, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://php.net/ChangeLog-5.php
Source: secalert@redhat.com
http://www.securityfocus.com/bid/75290
Source: secalert@redhat.com
https://bugs.php.net/bug.php?id=69646
Source: secalert@redhat.com
Exploit
http://openwall.com/lists/oss-security/2015/06/18/6
Source: af854a3a-2127-422b-91ae-364da2661108
http://php.net/ChangeLog-5.php
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.securityfocus.com/bid/75290
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.securitytracker.com/id/1032709
Source: af854a3a-2127-422b-91ae-364da2661108
https://bugs.php.net/bug.php?id=69646
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit
https://security.gentoo.org/glsa/201606-10
Source: af854a3a-2127-422b-91ae-364da2661108

14 reference(s) from NVD

Quick Stats

CVSS v3 Score
9.8 / 10.0
EPSS (Exploit Probability)
6.0%
91th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

php microsoft