Information Disclosure On Facebook
A GET parameter on Facebook's account recovery page controlled whether trusted-friend information was shown. By changing the parameter from 0 to 1, an attacker could view a user's trusted friends, or their most-contacted Messenger friends, without authorisation.
Published on alaa.blog
So, I wasn’t interested in Facebook bug bounty program for a while since I was so busy with my highschool exams back in 2018, I just wanted to collect some information about some users, and to know the methods to do that.
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 trusted a client-supplied parameter to decide whether to reveal sensitive friend data, instead of checking that the requester was authorised.
Impact
An attacker could disclose a user's trusted friends or their most-contacted Messenger friends, even when the account did not use the trusted-friends feature.
What the attacker needed
Know the target user's identifier; reach the trusted-friends recovery page
How it was found
- Go to the login page and choose the forgotten-password option.
- Select the option saying you have no access to your email.
- Reach the trusted-friends recovery page for a target account.
- Change the ntplr parameter in the URL from 0 to 1.
- Observe the trusted friends or most-contacted Messenger friends being displayed.
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 use a website, some information is passed in the address bar, called GET parameters. Here, a value in the address decided whether private friend information was displayed. Changing that value let the author see data about other users that should have been hidden.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.