Parallels Desktop prl_hypervisor Untrusted Pointer Dereference Privilege Escalation Vulnerability
A local attacker with low-privileged code execution can exploit a lack of validation in the prl_hypervisor kernel extension's HOST_IOCTL_SET_KERNEL_SYMBOLS handler to dereference an untrusted pointer, leading to privilege escalation and kernel-level code execution.
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 low-privileged code on the target 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 handler for HOST_IOCTL_SET_KERNEL_SYMBOLS fails to validate a user-supplied value before using it as a pointer, leading to an untrusted pointer dereference.
Impact
An attacker could escalate privileges and execute code in the context of the kernel.
What the attacker needed
Ability to execute low-privileged code
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 kernel extension (a driver that runs with high privileges) on macOS. A user who can already run some code on the machine can send a special request to this driver. Because the driver does not check the request properly, it can be tricked into using a memory address supplied by the attacker, which lets the attacker run code with the highest privileges (kernel level).
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.