Irremovable guest in facebook event — Facebook bug bounty
An event owner who is also a member of a group with their Facebook page could not remove a guest from an event. An attacker could exploit this to prevent removal of an unwanted guest from an event.
Published on medium.com
Hello Everyone, This is Rajiv Gyawali from Butwal, Nepal. This is a story of one of my finding on facebook.
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.
Context
Facebook Events let a group owner create an event and manage the guest list, including removing people who were invited or who joined. The report describes a logic flaw in that removal flow: under one specific arrangement of accounts and pages, the owner of an event cannot remove a guest. The researcher is Rajiv Gyawali (@rajiv_gyawali), and the finding was reported to the Meta / Facebook bug bounty programme. The report does not name the endpoint, the request parameters or the UI path involved, so the technical detail below is limited to the scenario and the timeline that the author gives.
Setup
The author does not describe a lab, tooling or specific account types beyond the roles that matter for the bug:
- A Facebook group.
- The owner of an event who is also a member of that group.
- A Facebook page owned by that same person, also a member of the group.
- A guest in the event, who is the account the owner tries to remove.
The author says he first read a public write-up about a related case, where an invited user blocks the owner of the event and then cannot be removed. He tried that scenario and could not reproduce it.
Finding it
He then went to one of his test groups and created an event in what he thought was a normal scenario, and tried to remove a member from that event. The removal failed. He tested the same thing in several groups and the result was inconsistent: in some groups he could not reproduce it. Because of that inconsistency he was unsure whether to report it at all, since there was a risk that the Facebook team would not be able to reproduce it. He reported it anyway.
Facebook could not reproduce the issue on the first attempt. The author says he was himself confused about the reproduction scenario, and calls the reply fair. He started again from zero and eventually worked out the exact condition needed.
Exploitation
The report does not include any HTTP request, response, payload or command, so there is nothing to reproduce at the protocol level. The reproduction is described purely in terms of roles and UI state.
Step 1: create the group and event
Create an event inside a group where the event owner is a member of the group together with his Facebook page. The author's summary of the required condition is:
When the owner of an event is a member of a group along with his facebook page, he can’t remove guest from an event.
Step 2: attempt to remove the guest
As the event owner, try to remove a guest from the event. In the affected configuration the removal does not go through, and the guest stays in the event.
Step 3: confirm the condition
The same attempt in some groups did not reproduce the failure, which is why the first round of testing looked inconsistent. Once the author sent the additional information describing this scenario, Facebook reproduced the issue.
Root cause
The report does not describe the code or the server-side check that fails. It only establishes the condition under which removal breaks: the event owner is a group member alongside his own page. Why the presence of the page changes the permission check is not stated, so any explanation of the underlying logic would be speculation.
Impact
The effect is that a guest cannot be removed from an event by its owner in the affected configuration. The author notes that the issue was still reproducible in FB4A (the Facebook app for Android) after the fix, and that the Facebook team said they do not accept this sort of issue in FB4A. He adds that it may still exist there.
Fix
It records that the issue was fixed and confirmed on 21 November (the year is not given in that line), and that the issue was still reproducible in FB4A after the fix. which the team declined to treat as in scope.
Timeline
| Event | Date |
|---|---|
| Report sent | 17 September 2021 |
| Initial response from Facebook (unable to reproduce) | 22 September 2021 |
| Additional information and scenario sent | 23 September 2021 |
| Reproduced | 24 September 2021 |
| Triaged | 29 September 2021 |
| Bounty rewarded | 7 October 2021 |
| Fixed and confirmed | 21 November |
Variants to test
These are general directions suggested by the scenario, not things the report itself tested:
- Page-owned resources. Where an account acts both as a personal profile and as a page admin, test actions that depend on membership or ownership, such as removing members, changing roles or deleting content. A positive result is the action failing only when the page is also a member of the same container.
- Mixed identity in permission checks. Try the same action with the page as the only member, with the personal profile as the only member, and with both. A positive result is a difference in behaviour between the three cases that cannot be explained by the visible permissions.
- Client parity. Repeat a confirmed web issue in the mobile apps. A positive result is the same broken action in the app after the web fix, which the report shows can happen and which the programme may treat separately.
- Blocking and invitation state. The earlier write-up the author read involved an invited user blocking the event owner. A positive result there is a guest who cannot be removed because of the block relationship, which is a different condition from the one in this report.
Closing note
The author signs off as a student of Accountancy and Finance who writes poems, stories and Meta bug bounty findings. The page around the article carries unrelated Medium recommendations and app download links, which are not part of the finding.
What happened, in plain words
Facebook lets people create events, which are like online invitations. You say where and when something happens, and you invite guests. The person who creates the event is its owner, and the owner can normally manage the guest list, including removing someone who was invited or who joined.
Rajiv Gyawali, a researcher from Butwal, Nepal, found a situation where that removal stops working. If the event owner is a member of a Facebook group, and his own Facebook page is also a member of that same group, then the owner cannot remove a guest from the event. The guest stays, because the removal does not go through.
This kind of problem is called a logic flaw. It is not a broken password or a stolen file. The software is doing exactly what it was programmed to do, but the rules it follows are wrong in one specific arrangement of accounts. Think of a building where the door lock works perfectly, but the receptionist's list of allowed people has the wrong name on it. Nothing is broken mechanically; the decision is simply wrong.
The interesting part of the story is not the bug itself but how hard it was to describe. The author found the failure, could not always make it happen again, reported it, and Facebook could not reproduce it either. Only after he worked out the exact condition did the report become actionable. That back and forth is a normal part of bug bounty work, and it is worth reading for that reason alone.
The pieces involved
Before the story makes sense, here are the Facebook features it uses, explained from zero.
- A Facebook group is a shared space where members post and organise things. Groups have members and admins.
- A Facebook page is a public profile for a business, a brand or a public figure. A page is not a person. It is a separate identity that a real person manages. One person can own a page and act as that page.
- A Facebook event is an invitation with a guest list. The person who creates it is the owner and can manage who is on the list.
- A guest is anyone on the event's guest list.
The report does not name the web address, the buttons, the request parameters or the internal code involved. It describes the situation only in terms of who is a member of what. So there is no request to copy here, and no payload to replay. Everything below is about roles and states, not about network traffic.
The starting point: someone else's write-up
The author began by reading public write-ups from other Facebook bug bounty researchers. One of them described a related problem: an invited user blocks the owner of the event, and after that the user cannot be removed. Blocking is a Facebook feature where one person prevents another from interacting with them.
He tried to reproduce that scenario himself and could not. This is a normal first step in security research: take a published finding and see whether it still works, or whether a small variation of it works. If it does, you have something to report. If it does not, you move on.
Finding the failure by accident
He then went to one of his own test groups and created an event in what he believed was an ordinary setup. He tried to remove a member from that event, and the removal failed. At that moment he thought he had found a bug.
He repeated the test in several groups. The result was inconsistent: in some groups he could not reproduce the failure. That inconsistency is important. A bug that only appears sometimes is much harder to report, because the person receiving the report has to be able to make it happen on their own machine. If they cannot, they will close the report.
He was unsure whether to send it at all, given that risk, but he reported it anyway.
The first report and the rejection
As he expected, the Facebook security team could not reproduce the issue. They replied that they were unable to make it happen.
The author calls that reply fair, because he was confused about the reproduction steps himself. This is a useful lesson: a report is only as good as its reproduction steps. If the researcher cannot state exactly which conditions trigger the problem, the security team has almost nothing to work with.
So he started again from zero and tested until he found the exact arrangement that made the failure appear.
The condition that triggers it
The required scenario, in the author's own words, is:
When the owner of an event is a member of a group along with his facebook page, he can’t remove guest from an event.
In plain terms, three things must all be true at once:
- There is a Facebook group.
- The person who owns the event is a member of that group.
- That same person's Facebook page is also a member of the same group.
When all three hold, the owner tries to remove a guest from the event and the removal does not go through. The guest remains.
Why would the presence of a page change anything? The report does not say. Any explanation of the underlying cause would be a guess, so this article does not offer one. What the report establishes is only the condition under which the removal breaks.
Sending the missing detail
The author sent the security team the additional information describing this scenario. With that, they were able to reproduce the issue. The report then moved through the programme's normal stages, which are worth knowing if you have never dealt with a bug bounty:
- Reproduced: the security team managed to make the bug happen themselves.
- Triaged: the report was accepted as a real, valid issue and entered the queue for a fix.
- Bounty rewarded: the researcher was paid.
- Fixed and confirmed: the problem was corrected and the researcher verified it.
Timeline
| Event | Date |
|---|---|
| Report sent | 17 September 2021 |
| Initial response from Facebook (unable to reproduce) | 22 September 2021 |
| Additional information and scenario sent | 23 September 2021 |
| Reproduced | 24 September 2021 |
| Triaged | 29 September 2021 |
| Bounty rewarded | 7 October 2021 |
| Fixed and confirmed | 21 November |
What happened after the fix
The author notes that the issue was still reproducible in FB4A, the Facebook app for Android, after the web version was fixed. He adds that it may still exist there. The Facebook team said they do not accept this sort of issue in FB4A.
This is a common situation in bug bounty work. A company may fix a problem on its website and treat the same behaviour in a mobile app as out of scope, meaning it will not pay for reports about it.
What the impact was
The effect is narrow: in the affected configuration, an event owner cannot remove a guest. It does not discuss who else could be affected, what data might be exposed, or any way to escalate it. It is a denial of a management action, not a data leak.
How to think about testing similar things
The report itself does not test these, but the scenario suggests directions a beginner could explore. They are general ideas, not confirmed findings.
- Resources owned by a page. When one person acts both as a personal profile and as a page admin, try actions that depend on membership or ownership: removing members, changing roles, deleting content. A positive result is the action failing only when the page is also a member of the same container.
- Mixed identity in permission checks. Try the same action three ways: with the page as the only member, with the personal profile as the only member, and with both. A positive result is a difference in behaviour between the three cases that the visible permissions cannot explain.
- Website versus app. Repeat a confirmed website issue in the mobile apps. A positive result is the same broken action in the app after the website fix. The report shows this can happen, and the programme may treat it separately.
- Blocking and invitation state. The earlier write-up the author read involved an invited user blocking the event owner. A positive result there is a guest who cannot be removed because of the block relationship, which is a different condition from the one in this report.
Closing note
The author signs off as a student of Accountancy and Finance who writes poems, stories and Meta bug bounty findings. The page around the article carries unrelated Medium recommendations and app download links, which are not part of the finding.
Glossary
- Bug bounty programme: a scheme where a company pays researchers for reporting security problems to it, instead of punishing them.
- Logic flaw: a bug where the software follows its rules correctly but the rules themselves are wrong in some situation, so a decision comes out wrong.
- Reproduce: to make a bug happen again on your own machine, following the same steps. A report that cannot be reproduced is usually closed.
- Triaged: the stage where a security team has accepted a report as valid and put it in line for a fix.
- In scope / out of scope: whether a particular product or behaviour is covered by a bug bounty programme's rules. Out of scope means the company will not pay for reports about it.
- FB4A: the Facebook app for Android, as named in the report.
- Facebook group: a shared space on Facebook with members and admins.
- Facebook page: a public profile for a business, brand or public figure, managed by a real person but acting as a separate identity.
- Facebook event: an invitation with a guest list, owned by the person who created it.
- Guest: a person on an event's guest list.
- Owner: the person who created an event and can manage its guest list.
- Blocking: a Facebook feature where one person prevents another from interacting with them.
- Permission check: the part of the software that decides whether a given person is allowed to perform a given action.
- Denial of an action: a situation where a legitimate action simply fails to go through, without any data being exposed.