(Pwn2Own) VMware Workstation hgfsVMCI_fileread Use of Uninitialized Variable Information Disclosure Vulnerability
The hgfsVMCI_fileread function in VMware Workstation fails to properly initialise memory before accessing it, leading to an information disclosure. A local attacker with high-privileged code execution on the guest can exploit this to leak sensitive information and, in combination with other vulnerabilities, escalate privileges to the hypervisor.
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to disclose sensitive information on affected installations of VMware Workstation. An attacker must first obtain the ability to execute high-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 hgfsVMCI_fileread function reads from a memory buffer without first initialising it, causing uninitialised memory to be disclosed.
Impact
A local attacker with high-privileged code execution on the guest could disclose sensitive information and, in conjunction with other vulnerabilities, escalate privileges to execute arbitrary code in the hypervisor context.
What the attacker needed
High-privileged code execution on guest
The fix
VMware has 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.
This bug is in VMware Workstation, a program that lets you run other operating systems on your computer. A function that reads files does not clear its memory before using it, so it can accidentally include leftover data from other programs. An attacker who already has high-level access inside the virtual machine can use this to see that leftover data, which might contain secrets, and then combine it with other bugs to take over the host.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.