Skip to content
Account takeover Disclosed report Beginner

Enable 2Fa verification without verifying email

An unverified Cloudflare account could enable two-factor authentication, which locked out the legitimate owner of the email address used to create that account. The owner could no longer log in or reset the password.

motu-vai Follow

Originally disclosed on HackerOne

Medium 4.2 View original
  • Triaged in 19 hours
  • Fixed in 8 days
  • Paid in 3 days
  • Disclosed after 2 months

Summary by the program

It was possible to enable Two-factor authentication feature for an unverified Cloudflare account . As a consequence, a legitimate owner of the e-mail address, which was used to create the unverified account, is unable to log in or reset password to the Cloudflare account. The issue was fixed by the Engineering team by implementing access control restrictions on 2FA configuration for unverified accounts.

The original report as published on HackerOne, by motu-vai. 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 2FA to be configured on accounts whose email address had not been verified, without checking that the person setting it up controlled that address.

Impact

A legitimate owner of the email address used for an unverified account could be locked out and unable to log in or reset the password.

What the attacker needed

Create an account with an email you do not own; do not verify the email address; enable 2FA on that unverified account

The fix

The issue was fixed by adding access control restrictions so that 2FA configuration is not allowed on unverified accounts.

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 sign up for a website, it often sends a verification email to prove the address is yours. This report says someone could skip that step and turn on two-factor authentication (2FA), an extra login code, on an account that still used someone else's email. That meant the real owner of the email could not get into the account or reset its password.

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 from Cloudflare Public Bug Bounty

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.