Become member of close & public group
A flaw in Facebook's Workplace platform allowed an attacker to add themselves as a member to closed or public Facebook groups by manipulating GraphQL requests. This gave them access to group content and the ability to post, though they were not a member when visiting the group directly.
Published on medium.com
Description === this bug allow attacker to add him self as member to closed &public group using workplace platform
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 Workplace platform's GraphQL API did not properly check whether the user was authorised to add themselves to a Facebook group, allowing a cross-platform membership bypass.
Impact
An attacker could join closed or public Facebook groups without authorisation, gaining access to group content and the ability to post, though they were not a member when visiting the group directly.
What the attacker needed
A Workplace account; knowledge of a target group ID
The fix
The issue was fixed by Facebook.
How it was found
- Go to the Workplace admin user sets page.
- Create a new people set via a GraphQL POST request.
- Add your Workplace profile ID to the created set via another GraphQL request.
- Add the set to a normal Facebook group via a third GraphQL request.
- Visit the group's member search page on the mobile Workplace site to get an invite link.
- Use the invite link to join the group as a personal user.
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 has a separate version for companies called Workplace. The researcher found that by sending special requests to Workplace, they could trick Facebook into thinking they belonged to a private group on the main Facebook site. This let them see posts and members even though they were not actually a member.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.