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

Parallels Desktop Toolgate Directory Traversal Privilege Escalation Vulnerability

The Toolgate component in Parallels Desktop fails to properly validate a user-supplied path before using it in file operations. A local attacker who can execute high-privileged code on the guest system could exploit this to escalate privileges and execute code on the host system.

Ezrak1e Follow

Originally disclosed on Zero Day Initiative

High 8.2 View original

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.

Ezrak1e and Alisa Esage (Pwn2Own), 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 escalate privileges and execute code in the context of the current user on the host system.

What the attacker needed

Ability to execute high-privileged code 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.

Parallels Desktop is software that lets you run another operating system (a 'guest') inside your main one (the 'host'). A part called Toolgate handles file operations between them but does not check paths properly. Someone who already has high-level access inside the guest could use a crafted path to run code on the host, which is a privilege escalation.

What is Path traversal?

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

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.