Skip to content
Access control Write-up Intermediate

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.

abdellah yaala Follow

Published on medium.com

Bounty$7,500 View original

Description === this bug allow attacker to add him self as member to closed &public group using workplace platform

abdellah yaala, on medium.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

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

  1. Go to the Workplace admin user sets page.
  2. Create a new people set via a GraphQL POST request.
  3. Add your Workplace profile ID to the created set via another GraphQL request.
  4. Add the set to a normal Facebook group via a third GraphQL request.
  5. Visit the group's member search page on the mobile Workplace site to get an invite link.
  6. 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.

More by abdellah yaala

View all

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

Broken access control

The lesson behind this report.

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.