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

Shimo VPN helper tool writeConfig privilege escalation vulnerability

The Shimo VPN helper tool exposes an XPC service that allows any local user to write arbitrary files anywhere on the system. An attacker with local access can exploit this to escalate privileges to root.

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 writeConfig functionality. A non-root user is able to write a file anywhere on the system.

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 writeConfig function does not validate the caller or the destination path, allowing any local user to write arbitrary files with root privileges.

Impact

A local attacker could escalate privileges to root, gaining full control of the system.

What the attacker needed

Local access to the machine

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 for a main app. Here, the helper accepts file-writing requests from any local user without checking who is asking. Because the helper runs as root, a normal user can trick it into writing a file in a protected location, which can lead to full control of the computer.

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.