Skip to content
Race condition Advisory Advanced CVE-2022-34899

Parallels Access Agent Time-Of-Check Time-Of-Use Local Privilege Escalation Vulnerability

A time-of-check time-of-use flaw in the Parallels Access Agent service allows a local attacker with low-privileged code execution to create a symbolic link and abuse the service to execute an arbitrary file as root. This enables privilege escalation to root on affected installations.

Reno Robert Follow

Originally disclosed on Zero Day Initiative

High 7.0 View original

This vulnerability allows local attackers to escalate privileges on affected installations of Parallels Access Agent. An attacker must first obtain the ability to execute low-privileged code on the target host system in order to exploit this vulnerability.

Reno Robert of Trend Micro Zero Day Initiative, 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

Root cause

Likely a time-of-check time-of-use race condition where the service checks a file path and later uses it without ensuring the file has not been swapped for a symbolic link.

Impact

An attacker with low-privileged code execution could escalate to root and run arbitrary code, though the text does not state whether any defence limited the exploit.

What the attacker needed

Ability to execute low-privileged code on the host

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.

This is a local privilege escalation bug in Parallels Access Agent, a program that runs with high (root) privileges. A normal user who can already run some code on the machine can trick the service into running a file of their choosing by using a symbolic link (a shortcut that points to another file). Because the service runs as root, the attacker's file also runs as root, giving them full control of the system.

What is Race condition?

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.

More by Reno Robert

View all

42 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.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.