Skip to content
Race condition Advisory Advanced

(0Day) Cato Networks Cato Client for macOS Helper Service Time-Of-Check Time-Of-Use Local Privilege Escalation Vulnerability

The Helper service in the Cato Client for macOS installs packages without proper locking, creating a time-of-check time-of-use race. A local attacker who can already run low-privileged code could exploit this to escalate to root and execute arbitrary code.

Mickey Jin Follow

Originally disclosed on Zero Day Initiative

High 7.8 View original

This vulnerability allows local attackers to escalate privileges on affected installations of Cato Networks Cato Client for macOS. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

@patch1t, 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

A local attacker with low-privileged code execution could escalate to root and run arbitrary code; the text does not say whether any defence limited this.

What the attacker needed

Ability to run low-privileged code locally; Cato Client for macOS installed

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 helper service is a small background program that runs with high privileges so the main app can ask it to do sensitive tasks. Here it installs packages, but it checks something and then uses it later without locking, so an attacker who can already run code on the machine can swap things in between and get the helper to run their code as the all-powerful root user.

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