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

Shimo VPN helper tool code-signing privilege escalation vulnerability

The Shimo VPN helper tool validates code signing with a basic check that only verifies a binary is signed, not who signed it. A local attacker can replace the OpenVPN executable with a self-signed binary, which the helper then runs as root, escalating privileges.

Tyler Bohan Follow

Originally disclosed on Cisco Talos

High 8.8 View original

An exploitable privilege escalation vulnerability exists in the Shimo VPN helper service due to improper validation of code signing. A user with local access can use this vulnerability to raise their privileges to root.

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 code-signing check uses kSecCSBasicValidateOnly, which only verifies that a binary is signed, without validating the signing authority.

Impact

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

What the attacker needed

Local access to the machine; ability to replace files in the Shimo app directory

How it was found

  1. Create a malicious executable and sign it with a self-signed certificate.
  2. Replace the OpenVPN binary in the Shimo application directory with the malicious executable.
  3. Use the Shimo application to attempt an OpenVPN connection, causing the helper to run the replaced binary 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 runs with high privileges to do tasks like starting VPN connections. It checks that the program it runs is signed, but only that it has some signature, not that it is from a trusted source. So an attacker can sign their own malicious program and trick the helper into running it as root, taking full control of 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.