Skip to content
Memory corruption Advisory Advanced CVE-2018-6974

VMware Workstation SVGA Heap-based Buffer Overflow Privilege Escalation Vulnerability

The virtualised SVGA handling in VMware Workstation did not properly validate user-supplied data, causing a heap-based buffer overflow. A local attacker who could already run low-privileged code in the guest could use this, possibly with other flaws, to execute code on the host operating system.

Anonymous Follow

Originally disclosed on Zero Day Initiative

Medium 6.9 View original

This vulnerability allows local attackers to execute arbitrary code on vulnerable installations of VMware Workstation. An attacker must first obtain the ability to execute low-privileged code on the guest system in order to exploit this vulnerability.

Anonymous, 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 SVGA emulation copied guest-supplied data into a heap buffer without checking its length.

Impact

A local attacker with low-privileged code in the guest could execute code in the context of the host OS, potentially in combination with other vulnerabilities.

What the attacker needed

Low-privileged code execution in the guest

The fix

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

A virtual machine runs inside a program called a hypervisor, and the guest system talks to it through emulated hardware such as a virtual graphics card. Here that emulated graphics card trusted data coming from the guest too much and wrote past the end of a memory buffer. Someone who already had a small foothold inside the guest could then try to break out onto the real machine hosting it.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Anonymous

View all

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

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.