A bug in VMware's Fusion virtualisation software could be used to run malicious code on a Mac by exploiting Windows in a virtual machine, according to a security researcher. VMware has released Fusion 2.0.4 to plug the hole.
According to Kostya Kortchinsky, an exploit researcher at Immunity, a critical vulnerability in VMware's virtual machine display function can be used to read and write memory on the 'host' operating system - the OS running the physical hardware.
Kortchinsky crafted an exploit for Immunity's customers and posted a video clip that demonstrates an attack on a machine running Windows Vista Service Pack 1 (SP1) as the host operating system, and Windows XP as the 'guest', the OS running in a virtual machine.
"This is indeed a guest-to-host exploit," Kortchinsky said. "It uses several vulnerabilities in the 'Display functions' (as VMware put it) that allow [someone] to read and write arbitrary memory in the host. Thus the guest can run some code on the host, effectively bypassing ASLR and DEP on Vista SP1."
The same tactics can be employed against a guest operating system - say Windows XP - running in Fusion on a Mac powered by Apple's Mac OS X, Kortchinsky confirmed. "The vulnerability is also present in VMware Fusion and as such would allow a guest (Windows or Linux) to run code on the Mac OS X host," he said. "We didn't implement this exploit though, but will probably in a near future."
The company has published a white paper discussing the VMware vulnerabilities, as well as working exploits that can compromise Windows or Ubuntu hosts; the paper and exploits, however, are available only to Canvas Early Updates customers.
VMware issued a security advisory last Friday acknowledging the bug, and provided links to new versions of its products that patched the problem. Fusion 2.0.4, a 186MB file, can be downloaded free-of-charge from VMware's site by current users of the company's Mac virtualisation software.
Fusion, and its primary commercial competitor, Parallels Desktop, are used on a large number of Macs by users, most of whom want a virtual environment to run Windows and select applications available only for Microsoft's OS. Sales of Fusion and Parallels were up 50 percent last September over the same month the year before, market research company NPD Group said then.