Skip to content
Account takeover Write-up Intermediate

Email Confirmation bypass at Instagram

An attacker could add an unconfirmed email to their Instagram account, request a password reset magic link, then change the email to a victim's address and open the link, which automatically confirmed the victim's email on the attacker's account. This allowed the attacker to steal the victim's email identity.

Avinash Kumar Follow

Published on medium.com

Bounty$3,000 View original

This story is all about a logical vulnerability which helped me in Bypassing the email confirmation process and adding any arbitrary non-confirmed email to Instagram account.

Avinash Kumar, 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

Impact

An attacker could confirm any email address on their own account without access to that inbox, effectively stealing the victim's email identity on Instagram.

What the attacker needed

An Instagram account; ability to change account email; victim's email address known

The fix

The fix was deployed, likely by binding the reset token to the email address it was issued for.

How it was found

  1. Add an unconfirmed email address to your Instagram account.
  2. Request a password reset magic link for that account.
  3. Change the account's email to the victim's email address.
  4. Open the magic link in the same browser.
  5. The victim's email becomes confirmed on the attacker's account.

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.

When you sign up, a site may send a link to your email to prove you own it. This report shows that by requesting a password reset link for one email, then swapping the email on the account to someone else's before clicking the link, the site would confirm the new email without sending a new link. That let an attacker attach a victim's email address to their own account.

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 Avinash Kumar

View all

1 more disclosed report, best first.

More from Meta

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.