(Pwn2Own) Oracle VirtualBox vusbUrbSubmitCtrl Use-After-Free Privilege Escalation Vulnerability
A use-after-free flaw in VirtualBox's vusbUrbSubmitCtrl method allows a local attacker with low-privileged code in a guest to execute code in the hypervisor context. The issue arises because the method does not validate an object's existence before operating on it.
Anthony Laou Hine Tsuei Follow
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to execute arbitrary code on affected installations of Oracle VirtualBox. An attacker must first obtain the ability to execute low-privileged code on the target guest system in order to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the vusbUrbSubmitCtrl method fails to check that an object still exists before using it, leading to a use-after-free.
Impact
An attacker with low-privileged code in the guest could escalate privileges and execute code in the hypervisor context.
What the attacker needed
Low-privileged code in guest
The fix
Oracle issued an update to correct the vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A use-after-free happens when a program keeps using a piece of memory after it has been freed, which can let an attacker control what happens next. Here, someone who can already run low-privileged code inside a VirtualBox guest can exploit this to run code on the host hypervisor, escaping the virtual machine.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.