# It’s Happening Again…

Source: https://www.youtube.com/watch?v=AN_3ps5bl7o
Recap page: https://rapidrecap.app/video/AN_3ps5bl7o
Generated: 2025-07-22T14:37:50.349+00:00

---
## Quick Overview

Four critical zero-day vulnerabilities in VMware products were exploited at the Pwn2Own Berlin 2025 competition, allowing attackers to escape virtual machines and gain remote code execution or system-level privileges on the host. These exploits highlight that while virtual machines offer isolation, their underlying hypervisor code can still contain exploitable flaws, demonstrating that even memory-safe languages like Rust would not inherently prevent all such issues in release builds.

**Key Points:**
- Pwn2Own Berlin 2025 awarded over $1 million in prizes for successful zero-day exploits against various software targets.
- Four critical zero-day vulnerabilities were disclosed for VMware products, including ESXi, Workstation, Fusion, and Tools.
- These vulnerabilities include integer overflow in VMXNET3, integer underflow in VMCI, and a heap overflow in PVSCSI.
- Exploiting these flaws allows attackers to escape the virtual machine's isolation and gain remote code execution or system-level privileges on the host.
- A successful demonstration at Pwn2Own showed a VM escape leading to "nt authority\system" privileges on the host.
- While Rust's debug mode would detect integer overflows/underflows, its release mode does not, though it prevents memory safety issues like array out-of-bounds.
- Exploiting these vulnerabilities is extremely difficult, often requiring multiple chained memory corruptions without crashing the system.

![Screenshot at 12:20: A command prompt window on a Windows host machine showing the output of the "whoami" command as "nt authority\\system", indicating a successful virtual machine escape and privilege escalation.](https://ss.rapidrecap.app/screens/AN_3ps5bl7o/00-12-20.png)

**Context:** The video discusses the results of Pwn2Own Berlin 2025, a prominent hacking competition organized by the Zero Day Initiative, which aims to reduce zero-day vulnerabilities by incentivizing researchers to find and disclose them. The core technical concept revolves around virtual machines (VMs) and hypervisors. A VM is a software-based emulation of a computer system, allowing multiple operating systems to run concurrently on a single physical machine. A hypervisor is the software that creates and runs these VMs, providing a layer of abstraction between the guest operating system and the host hardware.

## Detailed Analysis

The Pwn2Own Berlin 2025 competition, hosted by the Zero Day Initiative, awarded over $1 million for successful zero-day exploits against various software targets, including VMware products. The event showcased four significant vulnerabilities in VMware ESXi, Workstation, Fusion, and Tools. These included an integer-overflow in the VMXNET3 virtual network adapter (CVE-2025-41236), an integer-underflow in the VMCI (Virtual Machine Communication Interface) (CVE-2025-41237), a heap-overflow in the PVSCSI controller (CVE-2025-41238), and a vSockets information-disclosure vulnerability (CVE-2025-41239). The video explains that virtual machines (VMs) operate within a hypervisor, which is a software layer that abstracts the underlying hardware, creating a seemingly isolated environment for the guest operating system. However, since hypervisors are themselves just code, they are susceptible to vulnerabilities. Integer underflows and overflows can lead to out-of-bounds writes, allowing attackers to manipulate memory. Heap overflows enable attackers to corrupt heap metadata, potentially leading to arbitrary code execution. When these vulnerabilities exist in drivers or interfaces that interact directly with the host kernel, a successful exploit can allow an attacker to escape the VM and gain high-level privileges on the host machine, as demonstrated by a team achieving "nt authority\system" access. While memory-safe languages like Rust can prevent certain memory corruption issues like array out-of-bounds, they do not inherently prevent integer overflows or underflows in optimized release builds, meaning careful coding practices remain crucial.

### Pwn2Own Competition Overview

- The Zero Day Initiative hosts Pwn2Own, a competition where researchers find and exploit software vulnerabilities for cash prizes
- Pwn2Own Berlin 2025 awarded over $1 million, with STAR Labs SG Pte. Ltd. winning $320,000 for their exploits.

### Virtualization & Hypervisor Explained

- Virtual machines (VMs) are simulated computers running within a host system, providing isolation
- Hypervisors are the software that enables virtualization, managing the interaction between the VM and the host's hardware
- Type 2 hypervisors (like VMware Fusion) run on top of a host OS, while Type 1 hypervisors (like VMware ESXi) run directly on bare metal hardware.

### VMware Zero-Day Vulnerabilities

- Four critical CVEs were disclosed for VMware products: VMXNET3 integer-overflow (CVE-2025-41236), VMCI integer-underflow (CVE-2025-41237), PVSCSI heap-overflow (CVE-2025-41238), and vSockets information-disclosure (CVE-2025-41239)
- These vulnerabilities exist in the code that manages virtualized network adapters, communication interfaces, and storage controllers.

### Exploitation Mechanisms

- Integer underflow occurs when an unsigned integer decrements below zero, wrapping around to its maximum value, potentially leading to out-of-bounds memory access
- Integer overflow occurs when an integer increments beyond its maximum value, wrapping around to zero, which can bypass size checks
- Heap overflows allow attackers to write beyond allocated memory buffers, corrupting heap metadata and potentially gaining arbitrary code execution.

### VM Escape & Host Compromise

- Vulnerabilities in hypervisor components, especially drivers running in the host kernel, can allow an attacker to escape the VM's sandbox
- A successful VM escape grants the attacker privileged access to the host operating system, as demonstrated by gaining "nt authority\system" privileges.

### Rust's Role in Security

- Memory-safe languages like Rust prevent common memory corruption bugs such as array index out-of-bounds
- However, Rust's release builds do not automatically prevent integer overflows or underflows, requiring explicit handling to avoid these issues.

### Difficulty of Exploitation

- Chaining multiple memory corruption vulnerabilities to achieve a VM escape without crashing the system is extremely difficult and requires advanced expertise.

![Screenshot at 0:02: Split screen showing Ubuntu and Windows 11 virtual machines running simultaneously.](https://ss.rapidrecap.app/screens/AN_3ps5bl7o/00-00-02.png)
![Screenshot at 0:11: Text overlay displaying the four critical CVEs \(CVE-2025-41236, -41237, -41238, -41239\) related to VMware vulnerabilities.](https://ss.rapidrecap.app/screens/AN_3ps5bl7o/00-00-11.png)
![Screenshot at 0:55: Pwn2Own Berlin 2025 leaderboard showing STAR Labs SG Pte. Ltd. in first place with $320,000 in prize money.](https://ss.rapidrecap.app/screens/AN_3ps5bl7o/00-00-55.png)
![Screenshot at 1:02: Qualys Threat Protection article title: "VMware ESXi, Workstation, Fusion, and Tools Multiple Vulnerabilities".](https://ss.rapidrecap.app/screens/AN_3ps5bl7o/00-01-02.png)
![Screenshot at 2:10: Diagram illustrating a CPU hosting a Windows OS, which in turn hosts a Linux VM, representing nested virtualization.](https://ss.rapidrecap.app/screens/AN_3ps5bl7o/00-02-10.png)
![Screenshot at 3:09: Diagram comparing Type 2 hypervisor \(VMware Fusion on Windows OS\) and Type 1 hypervisor \(VMware ESXi on bare metal hardware\).](https://ss.rapidrecap.app/screens/AN_3ps5bl7o/00-03-09.png)
![Screenshot at 4:20: Diagram showing the layered architecture of a virtualized system: VM, Host OS, and Hardware.](https://ss.rapidrecap.app/screens/AN_3ps5bl7o/00-04-20.png)
![Screenshot at 5:40: C code snippet demonstrating an integer underflow with an unsigned integer initialized to zero.](https://ss.rapidrecap.app/screens/AN_3ps5bl7o/00-05-40.png)
![Screenshot at 7:23: C code snippet demonstrating an integer overflow with an unsigned integer initialized to its maximum value.](https://ss.rapidrecap.app/screens/AN_3ps5bl7o/00-07-23.png)
![Screenshot at 12:20: Command prompt screenshot from a compromised Windows host showing "whoami" output as "nt authority\\system" after a VM escape.](https://ss.rapidrecap.app/screens/AN_3ps5bl7o/00-12-20.png)
