Skip to content
Info disclosure Write-up Intermediate

Disclosing the primary email address for each Facebook user

The mobile version of Facebook's page admin management disclosed the email address of a user who had been invited to a role but had not yet accepted. An attacker could learn the primary email address of any non-friend user by inviting them and then cancelling the invitation.

Meta

Published on web.archive.org

This post is going to be discussing how I was able to get the primary/hidden email address for any Facebook user. This also happens to be my first accepted bug to the Facebook Bug Bounty Program.

The author, 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 mobile page for cancelling a pending admin invitation included the invited user's email address as a URL parameter, which was then displayed or logged.

Impact

An attacker could harvest the primary email addresses of non-friend users, which could enable targeted phishing; the victim might not notice if they miss the notification before the request is cancelled.

What the attacker needed

A Facebook account; ability to create a page or group; victim is not a friend

The fix

Facebook implemented a hotfix and later a permanent fix to prevent the email address from being exposed.

How it was found

  1. Create a test group or page and go to the Page Roles settings.
  2. Enter the name of a user who is not on your friends list and add them as an Editor.
  3. Switch to the mobile view of the page's admin management.
  4. Click the remove link for the pending invitation.
  5. Observe the email address in the resulting URL or page.

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 invite someone to help manage a Facebook page, Facebook sends them a request. The mobile version of the page that lets you cancel that request accidentally included the invited person's email address in the web address. By inviting someone you are not friends with and then cancelling, you could see their email address.

What is Info disclosure?

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

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.