Escaping Parallels Desktop with Plist Injection
A plist injection flaw and a race condition in Parallels Desktop could be used to escape from a guest virtual machine, potentially achieving code execution on the host.
This post details two bugs I found, a plist injection (CVE-2023-27328) and a race condition (CVE-2023-27327), which could be used to escape from a guest Parallels Desktop virtual machine. In this post I’ll break down the findings.
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a plist injection flaw and a separate race condition in Parallels Desktop allowed a guest to escape to the host.
Impact
An attacker could potentially escape from a guest Parallels Desktop virtual machine to the host.
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 write-up has not been written yet. The Original tab links to the source.
Parallels Desktop lets you run a virtual machine (a computer inside your computer). The software that connects the virtual machine to your real Mac had two mistakes: it didn't clean up some text from the virtual machine before putting it into a configuration file, and it had a timing flaw when opening files in shared folders. Together, someone with control of the virtual machine could make the Mac run their own code.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.