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.
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.
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
- Request an activation token for the default OAuth2 client.
- Exchange the activation token for a client ID and client secret.
- Use the client credentials to obtain an OAuth2 token.
- Send a crafted JDBC URL to the dbCheck endpoint to trigger remote code execution.
- 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.