Skip to content
Account takeover Write-up Intermediate

Business Logic Flaw worth $1250

The email verification page could be accessed without a password, and a used verification code remained valid, allowing an attacker who knew a victim's email and verification code to set up new 2FA and log in to the victim's account. The attacker could also override existing 2FA.

medium.com

Published on medium.com

FREE ARTICLE LINK👈

the_unlucky_guy, 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 verification endpoint did not require the original password and did not invalidate used codes, and it allowed 2FA to be reset without authentication.

Impact

An attacker who knows a victim's email and verification code could take over the account, set up new 2FA, and override existing 2FA; the report notes the code is random and not brute-forceable, so the attack requires already having the code.

What the attacker needed

Victim's email address; victim's verification code

How it was found

  1. Open the verification URL with the victim's email address in a new incognito window.
  2. Enter the verification code received for that email.
  3. Set up 2FA when prompted.
  4. Get logged in to the victim's account without a password.

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.

A website sent a code to your email to prove it is you. The site let anyone open the verification page without entering a password, and it did not expire the code after it was used. So if someone knew your email and that code, they could take over your account, even if you already had extra security (2FA).

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.