Bypass Admin approval, Mute Member and Posting Permissions for Only admins in Facebook groups
Hello guys, today I want to share with you how I was able to Bypass Admin approval, Mute Member and Posting Permissions for Only admins in Facebook groups, so let’s get started :)
The story began when Facebook Security Team announced their Facebook June Whitehat Promotion in June 1, 2018, they said they will take only two researchers to join Defcon in Vegas for free for BEST QUALITY REPORT and HIGHEST REWARD VALUE.
I said hmmm sounds good, so let’s hunt some bugs maybe I got lucky to win that promotion, I directly opened my Facebook notes Document to see what areas I should start digging in it and I saw this:
So what is Watch Party Option:
It’s a new feature in Facebook groups that allows Group admins even normal members to pick any public video on Facebook and show it to other members at the same time with a dedicated comment reel to create a “shared viewing experience”, for more Details.
as usual I opened my test group From Sarmad Hassan account and clicked on Watch Party Option to make a post and Intercepted the request with Burpsuite to see what is going on inside that feature, the request was as below:
POST /api/graphql/ HTTP/1.1
what brought my attention is ”group_id” parameter, I said let’s change the value of this group ID to my second test group ID from another account (group named Noobs), to see if I can make Watch Party post in Noobs group that I am member in it. and it works the response was as below:
“id”: “id of the video party”
Bypassing Mute Members
hmmmm interesting, I Switched to my second test group (victim group)(group named Noobs) from my second test account in a virtual machine and then clicked on the Members tab and clicked on Sarmad Hassan (Attacker User) and Muted him from the group, so Saramd Hassan will not be able to Make any Post in the Noobs group
I Switched back to the first test group from Sarmad Hassan Account and made watch party post and changed the group_id to the victim group ID (Noobs) and boom, it works so even if the admin of victim group muted the attacker he still be able to make watch party video and Bypass mute option.
Bypass Admin approval and Posting Permissions for Only admins
I said OK let’s dig more and see what we can do with watch party, so I switched back again to My second group Noobs and clicked on group settings and checked the below things:
- Post Approval: All group posts must be approved by an admin or a moderator
- Posting Permissions: Only admins
if the admin checked the above options no one can make any post and if the posting permissions is set to anyone, all posts should be approved by the Admin
so I got the Graph API call again from the first test group from Sarmad Hassan account and changed the group_id parameter to the victim group id (Noobs group) and booooom, the response was as below:
I was like:
where “id”: “199255894077754” is the id of the watch party room
The attacker can go to :
https://www.facebook.com/groups/[group-id]/wp/[watch party room id]
and will be able to watch this video and invite all group members to see it, so Imagine with all these protections that made by the admin of victim group (Noobs), the attacker Sarmad Hassan Bypassed it ALL :), Imagine if you’re an Admin of group and you checked all the above settings to make sure no one can post in your group except you and you feels so happy, But someone actually can bypass that and make a post without your approval, what will you think!!!
June. 03, 2018 — Initial Report
June. 14, 2018 — Report Triaged
June. 27, 2018 — Fixed the first two impacts
July. 17, 2018 — Complete Fix
July. 18, 2018 — Fix Confirmed
July. 18, 2018 — Bounty awarded
I would like to thanks Facebook Security Team for the Bounty.
1- Try to make a Document note for your target and check it from time to time
2- If you found a bug, don’t stop try to dig deeper maybe you get more than one impact
3- Always ask yourself what if !! when you search for bugs
4- If I can do it, You can do it too, trust me :)