Skip to content
Memory corruption Advisory Advanced CVE-2019-2522

Oracle VirtualBox crStateDeleteFramebuffersEXT Untrusted Pointer Dereference Privilege Escalation Vulnerability

A method in Oracle VirtualBox, crStateDeleteFramebuffersEXT, dereferenced a user-supplied value as a pointer without validating it first. A local attacker who could already run low-privileged code in the guest could use this to escalate privileges and run code in the hypervisor's context.

Huy Ngo Follow

Originally disclosed on Zero Day Initiative

High 7.8 View original

This vulnerability allows local attackers to execute arbitrary code on vulnerable 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.

Huy Ngo (Viettel Cyber Security), on the Zero Day Initiative

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 crStateDeleteFramebuffersEXT method used a caller-supplied value as a pointer without validating that it referred to legitimate memory.

Impact

An attacker with low-privileged code in the guest could escalate privileges and execute code in the context of the hypervisor.

What the attacker needed

Low-privileged code in the 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.

VirtualBox is software that lets one computer run other operating systems inside it. The part that manages those virtual machines is meant to be separate and more trusted than the code running inside them. Here, a value supplied from inside the virtual machine was treated as a memory address without being checked, so someone already running code in the guest could reach into the more trusted layer and take it over.

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.

More by Huy Ngo

View all

3 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.