Skip to content
Access control Advisory Intermediate CVE-2018-4008

Shimo VPN helper tool RunVpncScript privilege escalation vulnerability

The Shimo VPN helper tool exposes an XPC service that runs a user-supplied script as root without validating the script's owner or path. A local attacker can execute arbitrary code with root privileges.

Tyler Bohan Follow

Originally disclosed on Cisco Talos

Critical 9.3 View original

An exploitable privilege escalation vulnerability exists in the Shimo VPN 4.1.5.1 helper service in the RunVpncScript command. The command takes a user-supplied script argument and executes it under root context.

Tyler Bohan, on Cisco Talos

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

The helper tool's runVpncScript method executes a user-supplied file path as root without validating the file's ownership or location.

Impact

A local user can escalate their privileges to root, gaining full control of the system.

What the attacker needed

Local access to the machine; Shimo VPN 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 tool is a background program that runs with high privileges to do tasks the main app cannot. Here, the helper accepts a file path from any local user and runs that file as the all-powerful root user. Because it never checks who owns the file or where it is, a normal user can point it at their own script and take over the machine.

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.

More by Tyler Bohan

View all

84 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.