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