Skip to content
Info disclosure Write-up Intermediate

Facebook BugBounty: Tale of an Instagram bug disclosing user’s phone number via checkpoint

An attacker who already has a victim's username and password but cannot log in due to two-factor authentication could trigger a checkpoint by logging in over a VPN and then request a security code; the response to that request contained the victim's phone number without obfuscation. This allowed the attacker to learn the victim's phone number without bypassing two-factor authentication.

Bijan Murmu Follow

Published on web.archive.org

Hello, folks! , Here is my another post about a bug which disclosing Instagram user’s phone number . This bug mostly effects on 2FA enable accounts .

Bijan Murmu (@0xBijan), on web.archive.org

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 checkpoint's 'send security code' response included the full phone number in a parameter without masking it, even for sessions that had not completed 2FA.

Impact

An attacker with the victim's credentials could learn the victim's phone number without completing two-factor authentication.

What the attacker needed

Victim's username and password; victim has 2FA enabled; attacker uses a VPN

The fix

The report does not describe the fix, but the response should have masked or omitted the phone number until two-factor authentication was completed.

How it was found

  1. Log into the victim's account over a VPN to trigger a checkpoint.
  2. Click the 'Send security code' option.
  3. Read the response of the POST request, where the phone_number parameter contains the victim's number unmasked.

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.

Two-factor authentication (2FA) is a second login step, such as a code sent to your phone, that stops someone who only has your password. Here, even though the attacker could not get past that second step, the site's response to a 'send security code' request revealed the victim's phone number in plain text. So the attacker learned private contact information without fully logging in.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Bijan Murmu

View all

8 more disclosed reports, 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.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.