Parallels Desktop prl_disp_service Snapshots SymLink Change Ownership Privilege Escalation
A root service in Parallels Desktop changes ownership of files in a user-controlled Snapshots directory when deleting a snapshot. By replacing that directory with a symlink to a root-owned directory, an attacker can change ownership of root files to a low-privilege user, potentially leading to privilege escalation.
A privilege escalation vulnerability exists in the Snapshot functionality of Parallels Desktop for Mac version 20.1.1 (build 55740). When a snapshot of a virtual machine is deleted, a root service verifies and modifies the ownership of the snapshot files.
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 root service follows symbolic links when changing file ownership without verifying that the target path is within the intended user-owned directory.
Impact
A low-privilege user can change ownership of root-owned files, which could lead to privilege escalation if those files influence root services.
What the attacker needed
Local user account; ability to create snapshots; ability to create symlinks
The fix
The vulnerability was fixed in a vendor patch release.
How it was found
- Take a snapshot of a virtual machine, creating a Snapshots directory with snapshot files.
- Move or delete the Snapshots directory.
- Create a symlink named Snapshots pointing to a root-owned directory.
- In Parallels Desktop, open Manage Snapshots for the VM and delete the existing snapshot.
- The deletion fails, but the service follows the symlink and changes ownership of files in the target directory to the low-privilege user.
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 background service running with high privileges (root) is supposed to fix file permissions in a folder that normal users can control. A normal user can swap that folder for a shortcut (symlink) pointing to a protected system folder. When the service follows the shortcut, it mistakenly gives the user ownership of important system files, which the user could then modify to gain more control.
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.