Advisory Details

October 17th, 2024

Oracle VirtualBox TPM Heap-based Buffer Overflow Local Privilege Escalation Vulnerability

ZDI-24-1413
ZDI-CAN-23961

CVE ID CVE-2024-21259
CVSS SCORE 7.5, AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
AFFECTED VENDORS Oracle
AFFECTED PRODUCTS VirtualBox
VULNERABILITY DETAILS

This vulnerability allows local attackers to escalate privileges on affected installations of Oracle VirtualBox. An attacker must first obtain the ability to execute high-privileged code on the target guest system in order to exploit this vulnerability.

The specific flaw exists within the implementation of the virtual TPM device. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the hypervisor.

ADDITIONAL DETAILS Oracle has issued an update to correct this vulnerability. More details can be found at:
https://www.oracle.com/security-alerts/cpuoct2024verbose.html
DISCLOSURE TIMELINE
  • 2024-07-30 - Vulnerability reported to vendor
  • 2024-10-17 - Coordinated public release of advisory
  • 2024-10-17 - Advisory Updated
CREDIT YingMuo (@YingMuo), working with DEVCORE Internship Program
BACK TO ADVISORIES