Skip to content
Account takeover Disclosed report Beginner

Signup with any email and enable 2FA without verifying email

The signup flow allowed enabling two-factor authentication before the email address was verified. An attacker could register with a victim's email, enable 2FA, and thereby prevent the victim from registering or logging in even after a password reset.

rioncool22 Follow

Originally disclosed on HackerOne

  • Fixed in 39 hours
  • Disclosed after 7 months

##Description : When i signup, i can enable 2FA without verification my email.

##Attack Scenario :

  1. The Attacker signup with the victim email.
  2. Go to Two factor authetication and enable 2FA

Impact

when the victim want to register in this site, they can't, because they email claims by attacker. and if the victim reset the password to get back the email, he can, but he can't login because need 2FA code.

The original report as published on HackerOne, by rioncool22. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application allowed the 2FA setup action before the account's email address had been verified.

Impact

The victim cannot register with their own email, and even after a password reset they cannot log in because the attacker's 2FA code is required.

What the attacker needed

Attacker knows victim's email address; no email verification required before 2FA setup

How it was found

  1. Sign up using the victim's email address.
  2. Go to the two-factor authentication settings and enable 2FA.

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 report has not been written yet. The Original tab links to the source.

When you create an account, the site normally sends a link to your email to prove the address is yours. Here, the site let someone turn on two-factor authentication (a second login code, usually from a phone app) before that proof happened. So an attacker could claim someone else's email address and lock the real owner out.

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.

More by rioncool22

View all

10 more disclosed reports, best first.

More from Omise

View all

The newest disclosed reports for this program.

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.