Skip to content
Account takeover Disclosed report Intermediate

Signup with any Email and Enable 2-FA without verifying Email

An unverified Cloudflare account could enable two-factor authentication before the email address was confirmed. This meant the real owner of that email address could not log in or reset the password for the account.

imtheking Follow

Originally disclosed on HackerOne

  • Fixed in 4 months
  • Paid in 4 months
  • Disclosed after 5 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. Note: A duplicate report to credit researcher with simultaneous submission in a different program: @adozenplusone

The original report as published on HackerOne, by imtheking. 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 2FA configuration endpoint did not check that the account's email address had been verified before allowing the setting to be enabled.

Impact

A legitimate owner of the email address used for an unverified account could not log in or reset the password, effectively locking them out of that account.

What the attacker needed

Ability to sign up with any email; no email verification required

The fix

The issue was fixed by adding access control restrictions so that 2FA configuration is only allowed for verified 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, the site usually sends a link to your email to prove the address is yours. Here, someone could skip that proof and still turn on two-factor authentication, which is a second lock on the account. Because the real owner of the email never set that lock, they were locked out of an account made with their address.

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 imtheking

View all

1 more disclosed report, best first.

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.