Find-Mingle-Suggestions-For-Any-Facebook-User-Revisited
A GraphQL node for a user's mingle suggestions still exposed the participants to anyone with a valid access token, even though the user's friend list was private. An attacker could query the node directly and read the names and profile links of people connected to a non-friend.
Published on philippeharewood.com
With respect to “Find Mingle Suggestions for any Facebook User“, all of the nodes from the minglesuggestions were still visible to non-friends. Even though, the upper edge prevents any further arbitrary checking, I still felt it was necessary to lock the nodes beneath it.
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 GraphQL node resolver returned the mingle_participants field without checking the viewer's relationship to the owner or the owner's privacy settings.
Impact
A non-friend could directly read the identities of people in another user's mingle suggestions, undermining privacy settings that should hide friend relationships.
What the attacker needed
A valid access token; a leaked mingle suggestion ID; the target is not your friend
The fix
Facebook fixed the issue so the nodes beneath the upper edge are no longer exposed to non-friends.
How it was found
- Obtain a mingle suggestion identifier that belongs to another user.
- Use an access token that can reach GraphQL as a non-friend.
- Query the node by its identifier and request the mingle_participants field.
- Read the returned participant names and profile links.
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 stores suggestions of people you might want to meet as a small object with an ID. The report shows that anyone logged in could ask the server for that object by its ID and see the people inside it, even when the owner had hidden their friend list. This is a privacy leak because the server did not check whether the requester was allowed to see those connections.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.