Skip to content
Account takeover Write-up Beginner

Bypass Email Confirmation on Meta (FB/Insta)

The email confirmation code endpoint on Meta's authentication flow did not enforce rate limiting, allowing an attacker to brute-force the six-digit code. This enabled linking an arbitrary unverified email address to Meta, Facebook, and Instagram accounts without additional verification.

Rohan Nirula Follow

Published on rohanniraula.com.np

{title: "Bypass email confirmation on Meta, Facebook, and Instagram", date: "2025-Jun-24"}

Rohan Nirula, on rohanniraula.com.np

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 server did not implement rate limiting or attempt limits on the email confirmation code submission endpoint, allowing unlimited brute-force attempts.

Impact

An attacker could claim any unused email address and link it to Meta, Facebook, and Instagram accounts, potentially enabling account takeover or impersonation.

What the attacker needed

Access to the email confirmation flow; ability to intercept and modify requests; no rate limiting on the endpoint

The fix

The bug was fixed by adding rate limiting to the endpoint.

How it was found

  1. Go to auth.meta.com and click 'Continue with email'.
  2. Complete the account setup steps until reaching the page asking for the code sent to the email.
  3. Intercept the code submission request using Burp and send it to Intruder.
  4. Bruteforce the six-digit code using a payload that tries many values.
  5. After a few thousand requests, the correct code returns 'isConfirmed: true' and the account is verified.
  6. Link the verified email to Facebook and Instagram via accountscenter.meta.com without extra verification.

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 website often sends a code to your email to prove you own it. This report found that the website let someone try thousands of guesses for that code without stopping them, so they could guess the right one and confirm any email address they wanted. That let them attach an email they did not own to their social media accounts.

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 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.