Zero Credentials, Full Access: Inside a Complete Authorization Failure
The API lacked authentication and trusted client-supplied identity and tier metadata, allowing an unauthenticated attacker to access premium analytics, impersonate users by email, and modify or delete other users' conversations.
infosecwriteups.com
Published on infosecwriteups.com
While assessing a public enterprise SaaS API, I discovered a complete breakdown of authentication and authorization.
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
What the attacker needed
None
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 API had no login check at all, so anyone could use it. It also believed whatever the client said about who they were and what plan they had, so an attacker could pretend to be an enterprise customer or any other user by just changing a value in the request.
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.