Skip to content
Access control Write-up Beginner

Privileged Escalation in Facebook Messenger Rooms

The endpoint for rejecting a pending join request in Messenger Rooms did not check whether the caller was an admin of the room. Any member of a room could send a crafted request to reject another user's join request.

Jafar Abo Nada Follow

Published on medium.com

Privileged Escalation in Facebook Rooms Reject user’s request to join the Facebook Chat Rooms without having to be the admin.

Jafar Abo Nada, 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

Impact

A non-admin room member could reject pending join requests for any room they were in, removing the targeted user from the room.

What the attacker needed

Attacker is a member of the target room; knows the target room and user identifiers

The fix

The bug was fixed after Facebook's product team investigated.

How it was found

  1. Intercept the request that rejects a member from a room.
  2. Change the room identifier to the target room.
  3. Change the user identifier to the target user.
  4. Forward the request, and the user is removed from the room.

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.

In a chat room, an administrator decides who may join. The server should check that the person pressing 'reject' is really an administrator. Here it did not, so any ordinary member could reject other people's join requests.

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 Jafar Abo Nada

View all

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