Parallels Toolbox CleanDrive Link Following Local Privilege Escalation Vulnerability
The CleanDrive service in Parallels Toolbox follows symbolic links when deleting temporary files, so a low-privileged attacker can make it delete arbitrary files. An attacker could use this to escalate privileges and run code as SYSTEM.
This vulnerability allows local attackers to escalate privileges on affected installations of Parallels Toolbox. An attacker must first obtain the ability to execute low-privileged code on the target host 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
Impact
An attacker could escalate privileges and execute arbitrary code in the context of SYSTEM, but only after an administrator starts a cleanup.
What the attacker needed
Low-privileged code execution on host; administrator starts temp file cleanup
The fix
The vulnerability was fixed in Parallels Toolbox for Windows version 7.1.1.
How it was found
- Obtain the ability to run low-privileged code on the target host.
- Create a symbolic link that points to a file the attacker wants deleted.
- Wait for an administrator to start a cleanup of temporary files.
- The CleanDrive service follows the link and deletes the target file.
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.
A symbolic link is a shortcut that points to another file. The cleanup tool trusted these shortcuts and deleted whatever they pointed to, even important system files. Because the cleanup runs with high privileges, an attacker who can create a shortcut can trick it into deleting protected files and then take over the machine.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.