GHSL-2023-138: SAML token signature bypass in VMware Tools - CVE-2023-20900
A SAML authentication bypass in VMware Tools' vgauth module allowed an attacker to sign SAML assertions with their own key because the library used to verify signatures did not restrict the origin of the public key. An attacker with Guest Operation Privileges could therefore elevate their privileges on a target virtual machine.
A SAML authentication bypass vulnerability was found in the vgauth module of the VMware tools (open-vm-tools).
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
Likely the SAML signature verification did not restrict the source of the public key, allowing an attacker to embed their own key in the token.
Impact
An attacker with Guest Operation Privileges on a target virtual machine could elevate their privileges if that machine had a more privileged Guest Alias assigned.
What the attacker needed
Guest Operation Privileges on target VM; Target VM has a more privileged Guest Alias
The fix
The vulnerability was fixed in VMware Tools version 12.2.5 and open-vm-tools, as indicated by the tested version and the published advisory.
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.
SAML is a way for one system to prove your identity to another using a signed digital token. The signature is meant to guarantee the token came from a trusted source, but here the software accepted a key supplied inside the token itself, so anyone could sign their own token and be trusted. This let someone with limited access to a virtual machine gain more privileges.
What is OAuth / SSO?
Mistakes in OAuth, OpenID Connect, SAML or token handling that leak codes and tokens or link an attacker's identity to a victim's account.