Skip to content
Account takeover Write-up Intermediate

0click Account Take over via Auth0

The Auth0 tenant for the target allowed self-service signup through the database connections endpoint, and the resulting account could then be used to log in to the main application. Because the signup flow did not verify that the email address belonged to the person registering, an attacker could create an account for any victim's email address and take over that account.

medium.com

Published on medium.com

Hi, my name is Ahmed Mahmoud, and I am a penetration tester and bug hunter. Today, I will share details about a zero-click account takeover vulnerability via OAuth.

Ahmed Mahmoued, on medium.com

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 Auth0 database connection had signup enabled without email verification, so an account could be created for an email address the requester did not control.

Impact

An attacker could take over the account of any user whose email address they know, because the signup flow did not verify email ownership.

What the attacker needed

Knowledge of victim's email; signup enabled on the Auth0 connection

How it was found

  1. Send a signup request to the Auth0 database connections endpoint with a chosen email and password.
  2. Observe that the account is created even though no verification of the email is performed.
  3. Log in with the newly created account and get redirected back to the main domain as that 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.

Auth0 is a service that handles logins for other websites. The site let anyone create a new account by simply typing an email address, without proving they owned that email. So an attacker could type in someone else's email, create an account, and then log in as that person.

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.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.