Skip to content
Info disclosure Advisory Advanced CVE-2019-2574

Oracle VirtualBox crServerDispatchGetMaterialfv Out-Of-Bounds Read Information Disclosure Vulnerability

The crServerDispatchGetMaterialfv method in Oracle VirtualBox fails to validate user-supplied data, causing an out-of-bounds read. A local attacker with low-privileged code execution on the guest can disclose sensitive information and, combined with other flaws, potentially execute code in the hypervisor context.

Jason Matthyser Follow

Originally disclosed on Zero Day Initiative

Medium 6.5 View original

This vulnerability allows local attackers to disclose sensitive information 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.

Jason Matthyser of MWR Labs, 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 crServerDispatchGetMaterialfv method does not validate the length or bounds of user-supplied data before reading from it, leading to an out-of-bounds read.

Impact

A local attacker with low-privileged code execution on the guest could disclose sensitive information and, in conjunction with other vulnerabilities, execute code in the context of the hypervisor.

What the attacker needed

Low-privileged code execution on the guest

The fix

Oracle issued an update to correct this 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 runs virtual machines, and its guest additions pass graphics commands from the guest to the host. A function that handles one such command reads past the end of a memory buffer because it does not check the size of the data it receives. Someone who can already run code inside the guest can use this to read memory that should be private, and possibly to help break out of the virtual machine.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Jason Matthyser

View all

18 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.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.