Skip to content
Business logic Write-up Intermediate

This Is How I Could Have Reactivated Your Instagram Account Witho

A deactivated Instagram account could be silently reactivated when an attacker triggered a password reset, causing Instagram to send an SMS with a reset link. The victim's messaging app automatically visited the link to generate a preview, which Instagram treated as a valid session trigger, reactivating the account without the victim's knowledge.

Shubham Bhamare Follow

Published on infosecwriteups.com

Hi everyone, this is Shubham Bhamare. Today, I’m going to share the story of one of the most creative and painful findings of my bug hunting journey.

Shubham Bhamare, on infosecwriteups.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 silently reactivate a victim's deactivated Instagram account, making it public again, and the victim could not deactivate it again for 7 days.

What the attacker needed

Victim has deactivated account; attacker knows phone, email, or username; victim's messaging app has link previews on

The fix

The issue was fixed by showing a confirmation page to reactivate the Instagram account when the password reset link is opened.

How it was found

  1. Victim deactivates their Instagram account.
  2. Attacker initiates a password reset for the victim's account using their phone number, email, or username.
  3. Instagram sends a password reset SMS with a link to the victim's phone.
  4. The victim's messaging app automatically visits the link to generate a preview.
  5. The deactivated Instagram account becomes public and reactivated.

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 deactivate an Instagram account, it is supposed to stay hidden until you log back in. But if someone requests a password reset for your account, Instagram sends a text message with a link. Many phones automatically open links in texts to show a preview, and Instagram mistakenly treated that automatic visit as you logging in, so your account became public again without you doing anything.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by Shubham Bhamare

View all

6 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.