Skip to content
Info disclosure Write-up Beginner

Confirm an email address belonging to a specific user

An unsubscribe link accepted an extra email parameter, and the page responded differently depending on whether that email belonged to the user named in the link. An attacker could therefore test email addresses against a known user ID and learn which ones were linked to that account, including secondary emails.

abdellah yaala Follow

Published on medium.com

Bounty$5,000 View original

Privacy is important, and after reading this vulnerability, you will know that Facebook gives privacy a great priority

abdellah yaala, 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

Root cause

Likely the unsubscribe endpoint compared the supplied email against the account's addresses and returned a visibly different response for a match versus a mismatch, without rate limiting or neutral responses.

What the attacker needed

A notification email with an unsubscribe link; knowledge of the target user identifier

How it was found

  1. Open an unsubscribe link from a Facebook notification email, which contains a user identifier parameter.
  2. Inspect the page's HTML form and note the email parameter it uses.
  3. Add that email parameter to the unsubscribe URL alongside the user identifier.
  4. Supply an email that belongs to that user and observe a normal page response.
  5. Supply an email that does not belong and observe an unavailable-page response instead.

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.

Many websites put an identifier for a user in a link, such as a number. This page also took an email address and quietly checked whether it matched that user. Because the page looked normal when it matched and showed an error when it did not, anyone could keep trying addresses and learn which ones belong to a person, which is a privacy leak.

What is Info disclosure?

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

More by abdellah yaala

View all

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