Oracle VirtualBox crUnpackExtendGetAttribLocation Out-Of-Bounds Read Information Disclosure Vulnerability
The crUnpackExtendGetAttribLocation method in Oracle VirtualBox fails to properly validate user-supplied data, causing a read past the end of an allocated object. A local attacker who can already run low-privileged code in the guest could 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 a missing bounds check on user-supplied data in the crUnpackExtendGetAttribLocation method, allowing a read beyond the end of an allocated object.
Impact
A local attacker with low-privileged code execution in the guest could disclose sensitive information and, in conjunction with other vulnerabilities, could execute code in the hypervisor context.
What the attacker needed
Low-privileged code execution 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 another operating system inside a window, called a guest. A part of VirtualBox that handles graphics commands from the guest reads data without first checking how long it is, so it can read past the end of a memory buffer. Someone who can already run code inside the guest could use this to peek at memory belonging to the host side, which they should not be able to see.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.