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

Shimo VPN helper tool deleteConfig denial-of-service vulnerability

The Shimo VPN helper tool exposes an XPC service that deletes any file path supplied by the caller without checking privileges. A local attacker could use this to delete protected system files as root, causing a denial of service or privilege escalation.

Tyler Bohan Follow

Originally disclosed on Cisco Talos

Critical 9.0 View original

An exploitable privilege escalation vulnerability exists in the Shimo VPN 4.1.5.1 helper service in the deleteConfig functionality. The program is able to delete any protected file 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 deleteConfigAtPath:withReply method accepts an arbitrary file path and deletes it without verifying the caller's privileges.

Impact

A local non-privileged user could delete any file on the system, leading to denial of service or privilege escalation.

What the attacker needed

Local access to the machine

How it was found

  1. Connect to the helper tool's XPC service using the defined protocol.
  2. Call the deleteConfigAtPath:withReply method with a target file path.
  3. The helper checks if the file exists and deletes it as root.

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 small background program that runs with high privileges to do tasks for a normal app. Here, that helper accepts a file path from any local user and deletes it without checking who is asking, so a normal user can make the helper delete important system files.

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.