A newly discovered critical vulnerability in VMWares Windows desktop software could let an attacker break out of the VM environment "barrier" and infiltrate the underlying host system.
The vulnerability, which was found by Core Security Technologies, lets an attacker create or alter executable files on the Windows host OS -- but only if VMwares Shared Folders feature is enabled and at least one folder on the underlying host system is configured to share files with the VM.
VMware plans to issue a patch within two weeks for the bug, which occurs in Windows host systems running VMware Workstation, VMware Player, and VMware ACE software, according to Jerry Chen, senior director for enterprise desktop VMware. VMware Server is not affected by this vulnerability.
Ivan Arce, CTO of Core Security, says the trouble with virtual machine technology today is that organizations typically assume that this separation of guest and host systems is impenetrable: This vulnerability provides an important wake-up call that virtualization is not immune to security flaws and that real environments arent safe simply because they sit behind virtual environments."
There seems to be a tendency to think that because virtualization provides isolation from the real operating system then youre going to have a lot more security just by virtue of being virtualized, he says. But whenever you add software to a system and make it more complex, there are going to be more bugs.
Although there are no known exploits in the wild, Arce says, Core found the bug while studying a previously disclosed (and since patched) related vulnerability, so it wouldnt be tough for an attacker to find and use. Theres a vulnerability similar to this one thats been in exploitation for over a year now... so this one would not be hard to figure out as well. The flaw is simple to exploit, he notes.
In a nutshell, the VMware software doesnt properly sanitize malicious input into the file PathName parameter, according to Core, which reported the vulnerability to VMware in October.
VMwares Chen argues that the vulnerability isnt in the core virtualization technology itself. The virtualization feature is not where the vuln exists. If a user wasnt using Shared Folders, there would still be an isolation between [the guest and host OS]... and you cant penetrate it [and] its not that likely to be [exploited].
And when a user enables Shared Folders, he gets a warning message stating that using Shared Folders could expose the host to vulnerabilities, so there should be no surprises here, according to Chen. They are already aware theres a vulnerability between the guest OS and host OS there.
Meanwhile, Core Security also has released an exploit for the vulnerability for use in its Core Impact penetration testing tool.
Workarounds for the bug include disabling Shared Folders altogether, or configuring it to read-only access to the host folder.
Have a comment on this story? Please click "Discuss" below. If you'd like to contact Dark Reading's editors directly, send us a message.