The Login Page was a Decoy [Some Dangerous Things In this Articl
An SSO authentication endpoint accepted only a username and returned a signed JWT for that user, without any proof of identity. An attacker could use this token to access protected APIs, enumerate user data, and perform writes as the impersonated user.
Published on meetcyber.net
Modern authentication stacks can be scary: SSO, OpenID Connect, OAuth, JWTs, refresh tokens, API keys, role claims, and multiple backend services. The first thing people look for is a cryptographic mistake which adds that complexity.
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 SSO handler treated a username as sufficient proof of identity and issued a session token without validating an identity provider response.
Impact
An unauthenticated attacker could obtain a valid session for any known username, read protected data including a user directory, and write data as that user, collapsing confidentiality and integrity.
What the attacker needed
Knowledge of a valid username; network access to the API
The fix
The application should use a standard OpenID Connect flow, validate the identity provider's response server-side, and never treat a username as an authentication credential.
How it was found
- Send a POST request to the SSO authentication endpoint with only a username in the JSON body.
- Receive a successful response containing a signed JWT and elevated role data.
- Use the issued token in a header to call a protected user-details endpoint and confirm it returns profile data.
- Call a low-impact authenticated endpoint to verify the token is accepted elsewhere.
- Call a paginated user-list endpoint to enumerate many user records.
- Perform a controlled write to a comments endpoint and observe the backend attributes it to the impersonated 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.
Single sign-on (SSO) is a way to log in once and access many services. Here, the server handed out a valid login token just because someone typed a username, without asking for a password or any other proof. That token then worked across the application, letting the person act as that user.
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.