Parallels Desktop Toolgate Uncontrolled Memory Allocation Privilege Escalation Vulnerability
The Toolgate component in Parallels Desktop did not properly validate user-supplied data, leading to an uncontrolled memory allocation. An attacker who could already run high-privileged code in a guest system could exploit this to escalate privileges and execute code in the hypervisor context.
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to escalate privileges on affected installations of Parallels Desktop. An attacker must first obtain the ability to execute high-privileged code on the target guest system in order to exploit this vulnerability.
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 Toolgate component failed to validate the size or content of user-supplied data before using it for a memory allocation, allowing an attacker to trigger an uncontrolled allocation.
Impact
An attacker with high-privileged code execution in the guest could escalate privileges and execute arbitrary code in the context of the hypervisor, though the advisory does not state whether any mitigation limited the exploit.
What the attacker needed
Ability to execute high-privileged code in the guest
The fix
Parallels 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.
Parallels Desktop is software that lets you run another operating system in a window on your Mac. A part of it called Toolgate handles communication between the main system and the guest system, and it trusted data from the guest too much. Someone who already had high-level control inside the guest could use that trust to break out and run code on the host, which is a serious boundary crossing.
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.