Oracle VirtualBox crServerDispatchGetMaterialiv Out-Of-Bounds Read Information Disclosure Vulnerability
The crServerDispatchGetMaterialiv method in Oracle VirtualBox fails to properly 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.
Originally disclosed on Zero Day Initiative
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.
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 crServerDispatchGetMaterialiv method does not validate the length or contents of user-supplied data before using 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 include a graphics component that processes requests from the guest. A missing check on the size of data sent to one function lets a program inside the guest read memory beyond the intended buffer, leaking information. The attacker must already be able to run low-privileged code inside the guest.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.