Parallels Desktop Networking Service Integer Underflow Privilege Escalation Vulnerability
The prl_naptd process in Parallels Desktop fails to properly validate user-supplied data, leading to an integer underflow before writing to memory. A local attacker with high-privileged code execution on the guest can 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 prl_naptd process does not validate a user-supplied length or size value, causing an integer underflow that leads to an out-of-bounds write.
Impact
An attacker with high-privileged code execution on the guest could escalate privileges and execute code in the context of the hypervisor.
What the attacker needed
Local access to guest; high-privileged code execution on guest
The fix
Parallels has issued an update to correct this 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.
This is a flaw in a background service of Parallels Desktop, the software that lets you run other operating systems on a Mac. The service does not check some input properly, so a number can wrap around to a very large value, and that can corrupt memory. An attacker who already has high-level access inside the virtual machine could use this to break out and run code with even higher privileges on the host.
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.