Advisory Details

April 22nd, 2021

Oracle VirtualBox NAT Integer Underflow Privilege Escalation Vulnerability

ZDI-21-455
ZDI-CAN-13473

CVE ID CVE-2021-2145
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 NAT. The issue results from the lack of proper validation of user-supplied data, which can result in an integer underflow before writing to memory. 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/cpuapr2021.html
DISCLOSURE TIMELINE
  • 2021-04-14 - Vulnerability reported to vendor
  • 2021-04-22 - Coordinated public release of advisory
CREDIT Max Van Amerongen (maxpl0it)
BACK TO ADVISORIES