ID CVE-2017-4933
Summary VMware ESXi (6.5 before ESXi650-201710401-BG), Workstation (12.x before 12.5.8), and Fusion (8.x before 8.5.9) contain a vulnerability that could allow an authenticated VNC session to cause a heap overflow via a specific set of VNC packets resulting in heap corruption. Successful exploitation of this issue could result in remote code execution in a virtual machine via the authenticated VNC session. Note: In order for exploitation to be possible in ESXi, VNC must be manually enabled in a virtual machine's .vmx configuration file. In addition, ESXi must be configured to allow VNC traffic through the built-in firewall.
References
Vulnerable Configurations
  • VMware Fusion 8.0.0
    cpe:2.3:a:vmware:fusion:8.0.0
  • VMware Fusion 8.0.1
    cpe:2.3:a:vmware:fusion:8.0.1
  • VMware Fusion 8.0.2
    cpe:2.3:a:vmware:fusion:8.0.2
  • VMware Fusion 8.1.0
    cpe:2.3:a:vmware:fusion:8.1.0
  • VMware Fusion 8.5.0
    cpe:2.3:a:vmware:fusion:8.5.0
  • VMware Fusion 8.5.1
    cpe:2.3:a:vmware:fusion:8.5.1
  • VMware Fusion 8.5.2
    cpe:2.3:a:vmware:fusion:8.5.2
  • VMware Fusion 8.5.3
    cpe:2.3:a:vmware:fusion:8.5.3
  • Vmware Fusion 8.5.4
    cpe:2.3:a:vmware:fusion:8.5.4
  • Vmware Fusion 8.5.5
    cpe:2.3:a:vmware:fusion:8.5.5
  • Vmware Fusion 8.5.6
    cpe:2.3:a:vmware:fusion:8.5.6
  • Vmware Fusion 8.5.7
    cpe:2.3:a:vmware:fusion:8.5.7
  • Vmware Fusion 8.5.8
    cpe:2.3:a:vmware:fusion:8.5.8
  • cpe:2.3:a:vmware:fusion:10.0
    cpe:2.3:a:vmware:fusion:10.0
  • Vmware Fusion 10.1.0
    cpe:2.3:a:vmware:fusion:10.1.0
  • VMware Workstation Pro 12.0.0
    cpe:2.3:a:vmware:workstation_pro:12.0.0
  • VMware Workstation Pro 12.0.1
    cpe:2.3:a:vmware:workstation_pro:12.0.1
  • VMware Workstation Pro 12.1.0
    cpe:2.3:a:vmware:workstation_pro:12.1.0
  • cpe:2.3:a:vmware:workstation_pro:12.1.1
    cpe:2.3:a:vmware:workstation_pro:12.1.1
  • VMware Workstation Pro 12.5.0
    cpe:2.3:a:vmware:workstation_pro:12.5.0
  • VMware Workstation Pro 12.5.1
    cpe:2.3:a:vmware:workstation_pro:12.5.1
  • cpe:2.3:a:vmware:workstation_pro:12.5.2
    cpe:2.3:a:vmware:workstation_pro:12.5.2
  • cpe:2.3:a:vmware:workstation_pro:12.5.3
    cpe:2.3:a:vmware:workstation_pro:12.5.3
  • cpe:2.3:a:vmware:workstation_pro:12.5.4
    cpe:2.3:a:vmware:workstation_pro:12.5.4
  • cpe:2.3:a:vmware:workstation_pro:12.5.5
    cpe:2.3:a:vmware:workstation_pro:12.5.5
  • cpe:2.3:a:vmware:workstation_pro:12.5.6
    cpe:2.3:a:vmware:workstation_pro:12.5.6
  • cpe:2.3:a:vmware:workstation_pro:12.5.7
    cpe:2.3:a:vmware:workstation_pro:12.5.7
  • cpe:2.3:a:vmware:workstation_pro:14.0
    cpe:2.3:a:vmware:workstation_pro:14.0
  • cpe:2.3:a:vmware:workstation_pro:14.1.0
    cpe:2.3:a:vmware:workstation_pro:14.1.0
  • VMWare ESXi 5.5
    cpe:2.3:o:vmware:esxi:5.5
  • VMWare ESXi 6.0
    cpe:2.3:o:vmware:esxi:6.0
  • cpe:2.3:o:vmware:esxi:6.5
    cpe:2.3:o:vmware:esxi:6.5
CVSS
Base: 6.0
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
nessus via4
  • NASL family VMware ESX Local Security Checks
    NASL id VMWARE_VMSA-2017-0021.NASL
    description a. ESXi, Workstation, and Fusion stack overflow via authenticated VNC session VMware ESXi, Workstation, and Fusion contain a vulnerability that could allow an authenticated VNC session to cause a stack overflow via a specific set of VNC packets. Successful exploitation of this issue could result in remote code execution in a virtual machine via the authenticated VNC session. Note: In order for exploitation to be possible in ESXi, VNC must be manually enabled in a virtual machine's .vmx configuration file. In addition, ESXi must be configured to allow VNC traffic through the built-in firewall. VMware would like to thank Lilith Wyatt and another member of Cisco Talos for reporting this issue to us. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the identifier CVE-2017-4941 to this issue. b. ESXi, Workstation, and Fusion heap overflow via authenticated VNC session VMware ESXi, Workstation, and Fusion contain a vulnerability that could allow an authenticated VNC session to cause a heap overflow via a specific set of VNC packets resulting in heap corruption. Successful exploitation of this issue could result in remote code execution in a virtual machine via the authenticated VNC session. Note: In order for exploitation to be possible in ESXi, VNC must be manually enabled in a virtual machine's .vmx configuration file. In addition, ESXi must be configured to allow VNC traffic through the built-in firewall. VMware would like to thank Lilith Wyatt of Cisco Talos for reporting this issue to us. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the identifier CVE-2017-4933 to this issue. c. ESXi Host Client stored cross-site scripting vulnerability The ESXi Host Client contains a vulnerability that may allow for stored cross-site scripting (XSS). An attacker can exploit this vulnerability by injecting Javascript, which might get executed when other users access the Host Client. VMware would like to thank Alain Homewood of Insomnia Security for reporting this issue to us. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the identifier CVE-2017-4940 to this issue. d. Privilege escalation in vCenter Server Appliance (vCSA) VMware vCenter Server Appliance (vCSA) contains a local privilege escalation vulnerability via the 'showlog' plugin. Successful exploitation of this issue could result in a low privileged user gaining root level privileges over the appliance base OS. VMware would like to thank Lukasz Plonka for reporting this issue to us. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the identifier CVE-2017-4943 to this issue.
    last seen 2019-02-21
    modified 2018-08-06
    plugin id 105410
    published 2017-12-21
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=105410
    title VMSA-2017-0021 : VMware ESXi, vCenter Server Appliance, Workstation and Fusion updates address multiple security vulnerabilities
  • NASL family MacOS X Local Security Checks
    NASL id MACOSX_FUSION_VMSA_2017_0021.NASL
    description The version of VMware Fusion installed on the remote macOS or Mac OS X host is 8.x prior to 8.5.9. It is, therefore, affected by multiple vulnerabilities that can allow code execution in a virtual machine via the authenticated VNC session as well as cause information disclosure from one virtual machine to another virtual machine on the same host.
    last seen 2019-02-21
    modified 2018-07-14
    plugin id 105485
    published 2017-12-29
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=105485
    title VMware Fusion 8.x < 8.5.9 Multiple Vulnerabilities (VMSA-2017-0021) (VMSA-2018-0002) (Spectre) (macOS)
  • NASL family Misc.
    NASL id VMWARE_ESXI_6_5_BUILD_6765664.NASL
    description The version of the remote VMware ESXi 6.5 host is prior to build 6765664. It is, therefore, affected by a heap buffer overflow vulnerability that can be triggered by a specially crafted set of VNC packets.
    last seen 2019-02-21
    modified 2018-11-15
    plugin id 105614
    published 2018-01-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=105614
    title ESXi 6.5 < Build 6765664 Heap Buffer Overflow (VMSA-2017-0021) (remote check)
  • NASL family Windows
    NASL id VMWARE_PLAYER_WIN_VMSA_2017_0021.NASL
    description The version of VMware Player installed on the remote Windows host is 12.x prior to 12.5.8. It is, therefore, affected by multiple vulnerabilities that can allow code execution in a virtual machine via the authenticated VNC session as well as cause information disclosure from one virtual machine to another virtual machine on the same host.
    last seen 2019-02-21
    modified 2018-08-06
    plugin id 105555
    published 2018-01-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=105555
    title VMware Player 12.x < 12.5.8 Multiple Vulnerabilities (VMSA-2017-0021) (VMSA-2018-0002) (Spectre)
  • NASL family Windows
    NASL id VMWARE_WORKSTATION_WIN_VMSA_2017_0021.NASL
    description The version of VMware Workstation installed on the remote Windows host is 12.x prior to 12.5.8. It is, therefore, affected by multiple vulnerabilities that can allow code execution in a virtual machine via the authenticated VNC session as well as cause information disclosure from one virtual machine to another virtual machine on the same host.
    last seen 2019-02-21
    modified 2018-08-06
    plugin id 105487
    published 2017-12-29
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=105487
    title VMware Workstation 12.x < 12.5.8 Multiple Vulnerabilities (VMSA-2017-0021) (VMSA-2018-0002) (Spectre)
refmap via4
confirm https://www.vmware.com/security/advisories/VMSA-2017-0021.html
sectrack
  • 1040024
  • 1040025
talos via4
id TALOS-2017-0368
last seen 2018-08-31
published 2017-12-19
reporter Talos Intelligence
source http://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0368
title VMware VNC Dynamic Resolution Request Code Execution Vulnerability
vmware via4
description VMware ESXi, Workstation, and Fusion contain a vulnerability that could allow an authenticated VNC session to cause a heap overflow via a specific set of VNC packets resulting in heap corruption. Successful exploitation of this issue could result in remote code execution in a virtual machine via the authenticated VNC session. Note: In order for exploitation to be possible in ESXi, VNC must be manually enabled in a virtual machine's .vmx configuration file. In addition, ESXi must be configured to allow VNC traffic through the built-in firewall.
finder
company Cisco Talos
name Lilith Wyatt
id VMSA-2017-0021
last_updated 2017-12-19T00:00:00
published 2017-12-19T00:00:00
title VMware ESXi, Workstation and Fusion updates address multiple security vulnerabilities.
workaround None
Last major update 20-12-2017 - 10:29
Published 20-12-2017 - 10:29
Last modified 11-01-2018 - 14:29
Back to Top