Skip to content
Access control Write-up Intermediate

Join Any Facebook Group As Deactivated Additional Profile

A deactivated additional Facebook profile could still join groups and create posts by manipulating request parameters. An attacker could use a deactivated profile to post in any group without revealing their true identity.

zerocode-ph Follow

Published on zerocode-ph.medium.com

(This bug will only work for additional profile feature) More info about Facebook Additional Profile here 1. Copy the ID of your deactivated additional profile 3.

Syd Ricafort (0cod3), on zerocode-ph.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 server trusted client-supplied identifiers (such as av, _user, and actor_id) without verifying that the profile was active or that the request came from that profile.

Impact

An attacker could post in any Facebook group, including private groups, using a deactivated profile, making it harder to identify them; the report was ultimately closed as informative, so the issue may not have been fully confirmed.

What the attacker needed

Facebook account with additional profile feature; A deactivated additional profile; Ability to intercept web requests

How it was found

  1. Copy the ID of your deactivated additional profile.
  2. Join a group using a GraphQL request, changing the av and _user parameters to the deactivated profile and group_id to the target group.
  3. Create a post with your main profile and intercept the request.
  4. Change the actor_id to the deactivated profile and group_id to the target group.
  5. Forward the request, and the post is created using the deactivated profile.

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.

When you deactivate a Facebook profile, it should be unusable. This report shows that by changing hidden values in web requests, someone could still use a deactivated profile to join groups and post messages, hiding who they really are.

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.

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.