Skip to content
Path traversal Advisory Advanced CVE-2021-31421

Parallels Desktop Toolgate Directory Traversal Arbitrary File Deletion Vulnerability

The Toolgate component in Parallels Desktop did not properly validate a user-supplied path before using it in file operations. An attacker who could already run high-privileged code on the guest system could delete arbitrary files in the context of the hypervisor.

Ezrak1e Follow

Originally disclosed on Zero Day Initiative

This vulnerability allows local attackers to delete arbitrary files 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.

Ezrak1e, on the Zero Day Initiative

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 with high-privileged code execution on the guest could delete arbitrary files in the context of the hypervisor; the text does not say whether any defence limited this.

What the attacker needed

High-privileged code execution on 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 requests from the guest system, and it trusted a file path supplied by the guest without checking it. Someone who already had high-level control inside the guest could use that trust to delete files on the host side, which is the part that runs the virtual machine.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by Ezrak1e

View all

15 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.