Skip to content
Access control Write-up Intermediate

Local Privilege Escalation Vulnerability Discovered in VMware Fusion

VMware Fusion updates a system-wide PATH entry using a path determined at runtime, allowing a standard user to point it to a location they control. This could let an attacker execute malicious binaries or commands when any user, including root, logs in interactively.

Rich Mirch Follow

Published on cyberonesecurity.com

By CyberOne Security TeamThis article was written by members of the CyberOne Security Team, drawing on decades of combined experience in cloud and network security, penetration testing, threat intelligence, and advisory services.

Rich Mirch (@0xm1rch), on cyberonesecurity.com

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, VMware Fusion writes a user-influenced runtime path into a system-wide PATH configuration file without validating or restricting it to a trusted location.

Impact

Any application that does not specify the full path or reset the PATH variable could potentially be tricked into executing a malicious binary from the attacker-controlled location, and it is possible to silently cause the user logging in to execute arbitrary commands.

What the attacker needed

Standard user permissions; ability to copy and run VMware Fusion

The fix

The vulnerability was fixed in the vendor's patch released on 09/14/2020.

How it was found

  1. Create a copy of the VMware Fusion application using hard links to save space.
  2. Execute VMware Fusion from the copied location.
  3. Wait for background processes to start, then kill the application.
  4. Observe that the system PATH configuration file now contains the attacker-controlled path.

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 write-up has not been written yet. The Original tab links to the source.

When you log in, your computer looks for programs in a list of folders called the PATH. VMware Fusion added a folder to that list that a normal user could change. By tricking Fusion into using a folder they control, an attacker could make the computer run their program instead of the real one.

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 from VMware

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.