Categories: Cyber Security News

PoC Released for VMware Workstation Guest-to-Host Escape Vulnerability

NCC Group detailed a VMware Workstation guest-to-host escape achievable from a compromised VM via a logic flaw in virtual device handling that permits memory corruption and controlled code execution on the host process.

The write-up shows a practical exploitation path from guest userland to host compromise, validating real-world risk.

The attack requires execution inside a guest VM but no special guest privileges beyond the ability to send crafted inputs to the VMware backdoor/RPC interface, as reported by NCC Group.

Affected and Impact

The escape allows breaking VM isolation, executing arbitrary code in the host context of the Workstation hypervisor process, and pivoting to the host file system and adjacent VMs.

In multi-VM developer endpoints or sensitive lab environments, this enables data theft and lateral movement.

CVE Table

FieldDetails
CVEGuest-to-host escape in VMware Workstation
Affected ProductsVMware Workstation (specific vulnerable versions per NCC Group report)
ComponentVMware backdoor/RPC virtual device handling path
CVE IDsCVE2023-20870/CVE-2023-34044 and CVE-2023-20869

PoC Code

Below is an outline consistent with the NCC Group proof-of-concept description for educational defense and validation in a controlled lab. Use only to test patched status and detections.

  • Establish a VMware backdoor/RPC session from guest userland.
  • Send two or more RPC packets with the same sessionID, manipulating binary size and payload offset/size to trigger an out-of-bounds write in the host buffer handling routine.
  • Achieve overwrite of adjacent host memory to redirect control flow to attacker-controlled data.
  • Land a minimal host-side shell payload executed in the Workstation process context.

High-level pseudocode sketch:

// guest-side pseudocode outline

open_vmware_backdoor();

uint32_t sid = rpc_begin_session();

// Packet A: prime host buffer

rpc_send(sid, .bin_size = A_SIZE, .payload_off = OFF_A, .payload_size = SZ_A, .data = bufA);

// Packet B: overlapping write to force OOB and corrupt adjacent metadata/code ptr

rpc_send(sid, .bin_size = B_SIZE, .payload_off = OFF_B, .payload_size = SZ_B, .data = crafted_overlap);

// Optional: Packet C to finalize control-flow hijack

rpc_send(sid, .bin_size = C_SIZE, .payload_off = OFF_C, .payload_size = SZ_C, .data = rop_or_shellcode);

// Trigger vulnerable processing path

rpc_commit(sid);

Key exploitation detail: reuse of the same sessionID with crafted size/offset math causes a buffer boundary miscalculation that performs an out-of-bounds write in the host’s parser, enabling reliable redirection to attacker-controlled code.

Mitigation

  • Apply VMware security updates that remediate the vulnerable virtual device/RPC handling path.
  • Restrict untrusted workloads in local Workstation; separate high-risk testing VMs from sensitive host data.
  • Monitor VMware processes for abnormal child process creation and file access originating from the Workstation host process.
  • Enforce host EDR and application control to constrain the hypervisor process behavior post-exploitation.

Follow us on Google News, LinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google.

Divya

Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

1 day ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

2 days ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

2 days ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

2 days ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

2 days ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

2 days ago