National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2015-4642 Detail

Current 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.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: 9.8 CRITICAL
Vector:  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

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://git.php.net/?p=php-src.git;a=commit;h=d2ac264ffea5ca2e85640b6736e0c7cd4ee9a4a9
http://openwall.com/lists/oss-security/2015/06/18/6
http://php.net/ChangeLog-5.php
http://www.securityfocus.com/bid/75290
http://www.securitytracker.com/id/1032709
https://bugs.php.net/bug.php?id=69646 Exploit
https://security.gentoo.org/glsa/201606-10

Weakness Enumeration

CWE-ID CWE Name Source
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') NIST  

Known Affected Software Configurations Switch to CPE 2.3

Configuration 1 ( hide )
 cpe:/a:php:php
     Show Matching CPE(s)
Up to (including)
5.4.41
 cpe:/a:php:php:5.5.0
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.1
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.2
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.3
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.4
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.5
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.6
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.7
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.8
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.9
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.10
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.11
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.12
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.13
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.14
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.15
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.16
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.17
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.18
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.19
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.20
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.21
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.22
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.23
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.24
     Show Matching CPE(s)
 cpe:/a:php:php:5.5.25
     Show Matching CPE(s)
 cpe:/a:php:php:5.6.0
     Show Matching CPE(s)
 cpe:/a:php:php:5.6.1
     Show Matching CPE(s)
 cpe:/a:php:php:5.6.2
     Show Matching CPE(s)
 cpe:/a:php:php:5.6.3
     Show Matching CPE(s)
 cpe:/a:php:php:5.6.4
     Show Matching CPE(s)
 cpe:/a:php:php:5.6.5
     Show Matching CPE(s)
 cpe:/a:php:php:5.6.6
     Show Matching CPE(s)
 cpe:/a:php:php:5.6.7
     Show Matching CPE(s)
 cpe:/a:php:php:5.6.8
     Show Matching CPE(s)
 cpe:/a:php:php:5.6.9
     Show Matching CPE(s)
Running on/with
 cpe:/o:microsoft:windows
     Show Matching CPE(s)


Change History

5 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2015-4642
NVD Published Date:
05/16/2016
NVD Last Modified:
09/21/2017