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.
Published on medium.com
Privacy is important, and after reading this vulnerability, you will know that Facebook gives privacy a great priority
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
- Open an unsubscribe link from a Facebook notification email, which contains a user identifier parameter.
- Inspect the page's HTML form and note the email parameter it uses.
- Add that email parameter to the unsubscribe URL alongside the user identifier.
- Supply an email that belongs to that user and observe a normal page response.
- 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.