How I Exploited an Auth0 Misconfiguration to Bypass Login Restric
The Auth0 signup endpoint was left exposed and did not check whether account creation was allowed, so an attacker could register a new account. By reusing the realm value from the login request as the connection parameter, the attacker created an account and logged into the admin panel.
In this write-up, I’m sharing an interesting bug I discovered during a security test. This bug allowed me to bypass login restrictions and register an unauthorized account in a web application’s admin panel.
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 signup endpoint was enabled without authorisation checks and accepted the realm value as the connection identifier.
What the attacker needed
Access to the login page; knowledge of the realm value
The fix
The signup endpoint should be disabled or require authorisation, and account creation should be restricted to approved users or domains.
How it was found
- Intercept the login request and note the client_id and realm parameters.
- Send a request to the signup endpoint with the realm value used as the connection parameter.
- Receive a successful response confirming the account was created.
- Log in to the admin panel with the new credentials.
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.
Auth0 is a service that handles logins for websites. The site had a hidden signup feature that was still switched on, and it did not check if the person was allowed to sign up. The tester guessed the right setting name from the login page and used it to create an account, which then let them into the admin area.
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.