Skip to content
Info disclosure Advisory Advanced CVE-2024-22270

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

Gwangun Jung Follow

Originally disclosed on Zero Day Initiative

Medium 6.0 View original

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.

Gwangun Jung(@pr0ln) and Junoh Lee(@bbbig12) at Theori(@theori_io), 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 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.

More by Gwangun Jung

View all

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