Skip to content
Access control Write-up Beginner

Ability To Add Non Friends As Co Hosts In Facebook Group Events

The group event co-host feature only checks that a user is a group member, not that they are friends with the event creator, contrary to Facebook's documentation. An attacker who is a group member but not a friend could be added as co-host and gain event management privileges.

Abu Idris Al-Muhaqqiq Follow

Published on infosecwriteups.com

It is possible to add users who are not friends as co-hosts in group events, despite Facebook documentation stating that only friends can be added as co-hosts. The system only validates whether the user is a member of the group, but does not enforce the friendship requirement.

Abu Idris Al-Muhaqqiq, on infosecwriteups.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 co-host selection logic only verifies group membership and omits the documented friendship check.

Impact

Group members who are not friends with the event creator could obtain co-host privileges, allowing them to edit event details, manage invitations, and potentially moderate interactions; the report notes this may be intentional for group contexts but contradicts documentation.

What the attacker needed

User A and User B are not friends; User B is a member of the group

The fix

The co-host selection should enforce the documented friendship requirement in addition to group membership.

How it was found

  1. User A creates a Facebook group.
  2. User B visits the group and joins it.
  3. User A creates a new event inside the group.
  4. While creating the event, User A adds User B as a co-host.
  5. Observe that the system allows adding User B as a co-host even though they are not friends with User A.

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 says you can only add friends as co-hosts to an event. But in group events, the system only checks if the person is in the group, not if they are your friend. So a group member you don't know could be made co-host and help manage the event.

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 Abu Idris Al-Muhaqqiq

View all

4 more disclosed reports, best first.

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.