**Silent Takeover: How We Hacked Authentication Flows to Compromise 2000+ Healthcare Tenants with Zero Clicks**
The platform trusted a client-supplied authentication mode and a numeric user identifier, allowing an attacker to force basic authentication and then obtain a valid token for any user without completing SAML authentication. This enabled account takeover across more than 2,000 tenants.
Published on pandyamayurrr.medium.com
During a recent VAPT (Vulnerability Assessment and Penetration Testing) engagement, my friend Padsala Tushal and I discovered a critical authentication flaw in a [Redacted] healthcare and biotech inventory management platform. This platform, used by research labs, universities, and biotech companies worldwide, was…
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
Impact
An attacker could log in as any user, including administrators, and access or modify sensitive healthcare data across more than 2,000 tenants without any user interaction.
What the attacker needed
Access to the login page; ability to intercept and modify HTTP traffic; knowledge of a valid user identifier
The fix
The vulnerabilities were responsibly disclosed and patched.
How it was found
- Intercept the response from the authentication configuration endpoint and change the authentication type from LDAP to basic.
- Obtain credentials from a public Docker image and log in to multiple tenants.
- Intercept the SAML assertion POST request and change the user identifier to different numeric values.
- Append a user identifier parameter to the login URL to skip the SAML flow entirely and receive a token.
- Force SAML authentication for a tenant and then use the login URL with a chosen identifier to log in as any user.
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.
The login system let the browser tell it which authentication method to use, and it also accepted a simple number to decide who you are. By changing that number, an attacker could become any user without knowing their password or passing two-factor checks.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.