Skip to content
Info disclosure Write-up Intermediate

Facebook-Stories-Disclose-Facebook-Friend-List

A Facebook user's friend list, even when set to 'Only me', could be disclosed through a Facebook Story's privacy settings. An attacker who was a friend could query the story bucket's privacy preview users to see the full friend list.

Philippe Harewood Follow

Published on philippeharewood.com

Given a Facebook user with a friend list set to “Only me” if this user posts a Facebook story to his/her bucket with privacy set to “Friends”, this will leak the user’s friend list. Facebook Stories are what makes the sequel to Instagram stories, short media content served via photo or video.

Philippe, on philippeharewood.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

The story privacy preview field exposed the full friend list as the audience, ignoring the friend list's own privacy setting.

Impact

A user's friend list could be disclosed to friends even when the friend list privacy was set to 'Only me'.

What the attacker needed

Victim has friend list set to 'Only me'; victim posts a story with privacy 'Friends'; attacker is a friend of the victim

The fix

Facebook patched the issue.

How it was found

  1. Set your friend list privacy to 'Only me'.
  2. Post a Facebook story with privacy set to 'Friends'.
  3. As a friend, query the story bucket's privacy preview users via GraphQL.
  4. Observe the full friend list in the preview users.

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.

Facebook lets you hide your friend list from others by setting its privacy to 'Only me'. But when you post a story with privacy set to 'Friends', the story's privacy settings included a list of people who could see it. That list was actually your friend list, so anyone who could see the story could also see your hidden friends.

What is Info disclosure?

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

More by Philippe Harewood

View all

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