Skip to content
Account takeover Write-up Intermediate

From Deep Recon to Account Takeover: How Burp Suite Uncovered a H

A legacy accounts page allowed adding an unverified email address and then making it primary without verification. An attacker could then use the password reset flow to receive a reset link for the victim's account and take it over.

Scarabel0x Follow

Published on medium.com

We often hear that “Reconnaissance is the most important phase in Bug Bounty,” but what does that actually look like in practice? Does it just mean finding subdomains?

Scarabel0x, 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 legacy accounts page did not enforce email verification before allowing an added email to become primary, and the backend trusted that primary status for password resets.

Impact

An attacker could take over any user account without knowing the password or accessing the victim's original email, bypassing email verification.

What the attacker needed

Access to the legacy /accounts/ page; an attacker-controlled email address; victim has an account on the target

The fix

The text recommends enforcing email verification at the API/backend level and removing legacy endpoints, but does not state that it was fixed.

How it was found

  1. Use Burp Suite Content Discovery to find the hidden /accounts/ path.
  2. On the legacy page, add an attacker-controlled email address.
  3. Click 'Make Primary' to set the unverified email as the primary contact.
  4. Go to the password reset page and enter the attacker email.
  5. Receive the reset link, set a new password, and log in as the victim.

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 let someone add a new email address to an account and mark it as the main one without proving they owned it. Because password resets go to the main email, the attacker could reset the password and log in as the victim.

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 Scarabel0x

View all

6 more disclosed reports, best first.

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.