Skip to content
Access control Write-up Advanced

IAM Whoever I Say IAM :: Infiltrating VMWare Workspace ONE Access Using a 0-Click Exploit

VMware Workspace ONE Access contained an authentication bypass in an OAuth2 endpoint that allowed an unauthenticated attacker to obtain a valid client ID and secret, and a JDBC injection in a database check endpoint that could lead to remote code execution. Chained with a privilege escalation, these gave a pre-authenticated remote root exploit.

Steven Seeley Follow

Published on srcincite.io

On March 2nd, I reported several security vulnerabilities to VMWare impacting their Identity Access Management (IAM) solution. In this blog post I will discuss some of the vulnerabilities I found, the motivation behind finding such vulnerabilities and how companies can protect themselves.

Steven Seeley (@steventseeley), on srcincite.io

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 the OAuth2 activation endpoints did not require authentication and default OAuth2 clients existed, while the database check endpoint passed user-controlled JDBC URLs to a connection factory without validation.

Impact

An unauthenticated attacker could bypass authentication and, by chaining the JDBC injection and privilege escalation, achieve remote code execution as root.

What the attacker needed

Network access to the target; default OAuth2 clients present; no authentication required

How it was found

  1. Request an activation token for the default OAuth2 client.
  2. Exchange the activation token for a client ID and client secret.
  3. Use the client credentials to obtain an OAuth2 token.
  4. Send a crafted JDBC URL to the dbCheck endpoint to trigger remote code execution.
  5. Exploit the publishCaCert and gatherConfig scripts to escalate to 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 write-up has not been written yet. The Original tab links to the source.

This report describes several security holes in a login management product. One hole let anyone get a valid login token without knowing a password, and another let an attacker run their own commands on the server. Together they allowed full control of the system.

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 Steven Seeley

View all

6 more disclosed reports, best first.

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.