Skip to content
Access control Write-up Intermediate

Missing permission check for Facebook gaming community invites

A missing permission check allowed any user to view another user's pending gaming community manager invites. An attacker could see who had been invited to become a community manager, which should have been private.

Philippe Harewood Follow

Published on philippeharewood.com

Facebook allows a user or page (gaming creator) to delegate users as community managers (CM) for moderating comments on live gaming videos. When a user invites a person as a CM, this will add the person to a pending community manager list.

admin, on philippeharewood.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.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 5 min read.

What the report shows

Facebook lets a user or a page acting as a gaming creator delegate other users as community managers (CMs) to moderate comments on live gaming videos. When the creator invites someone as a CM, the invitee is added to a pending community manager list. The researcher's premise is that this pending list should be private, known only to the creator and the people invited.

The report builds on earlier work published at https://philippeharewood.com/missing-permission-check-when-viewing-pending-gaming-community-manager-list/, which dealt with viewing the pending list. This follow-up concerns the invitee's side of the relationship: the list of incoming gaming community invites, referred to in the report by the field name community_manager_invite_profiles.

The finding, stated in one line, is that a user's list of incoming gaming community invites is disclosed. In other words, the pending-invite data that should be visible only to the creator and the invited person could be read by someone who should not have access to it. The report does not include the request that produced the disclosure, the response, the account setup used, or the identity of any party whose invites were exposed.

The timeline is short and complete:

Date Event
Aug 1, 2021 Report sent
Aug 5, 2021 Fixed by Facebook

The report records the fix on Aug 5, 2021. The report gives no bounty amount, no severity rating and no CVSS score.

Root cause

The report's title names the mistake: a missing permission check. The report does not describe the request or mechanism behind the disclosure. The researcher's premise is that pending invites should be private, so the authorisation decision belonged at the point of retrieval.

Impact

The report limits itself to disclosure: a user's incoming gaming community invites could be read by someone not entitled to see them. The report does not claim that an attacker could accept, reject or forge invites, nor that any account could be taken over. Treat the impact as an information leak of pending-invite metadata, with the caveat that the report does not enumerate exactly which fields were returned.

How this kind of bug works

Object-level authorisation failures happen when an application authenticates the caller but does not check that the caller is allowed to act on the specific object requested. The endpoint knows who you are; it just never asks whether this invite, this list or this profile belongs to you. Frameworks make this easy to get wrong: a resolver receives an identifier from the client, loads the record, and returns it, with the ownership check living in a separate layer that someone forgot to call.

Pending-invite lists are a classic case because they are inherently multi-tenant. The same list is legitimately readable by the inviter and the invitee, which tempts developers to treat it as semi-public and skip the check. Defences are straightforward in principle: enforce authorisation in the data-access layer next to the query, not only in the UI or the router; derive the subject from the session rather than from a client-supplied identifier wherever possible; and test every field that returns another user's data with a second, unrelated account.

How to test for it

  1. Map the feature. Identify every request the client makes when a creator invites a moderator and when the invitee views pending invites. Note the identifiers in each request: user IDs, page IDs, invite IDs, and any opaque tokens.
  2. Create two accounts, A and B, plus a page or creator account C. Have C invite A as a community manager so that A has a genuine pending invite.
  3. Capture the request A uses to list incoming invites. Replay it with B's session while keeping A's identifier in the request. A positive result is a response containing A's pending invite data returned to B.
  4. Vary the identifier: swap in IDs you do not control, try numeric neighbours, and try both the invitee-side and creator-side views of the same list.
  5. Check the mutation side too: attempt to accept or decline an invite belonging to another user, and confirm whether the server rejects it.

A positive result is a well-formed response with another user's invite records, not an error page. Common false positives: the endpoint returns an empty list or a generic object for unauthorised callers, the data returned is public profile information that happens to sit alongside the invite, or the client caches a previous response so the replay looks successful when the server actually refused. Always confirm with a fresh session and a clean request.

How it is fixed

The standard fix is a server-side authorisation check on every read of invite data: confirm that the authenticated caller is either the invited user or the creator who owns the invite, and reject everything else, ideally with a generic error that does not reveal whether the record exists. Where possible, stop accepting the subject identifier from the client and take it from the session. Add regression tests that replay each invite-related request with a second account, and audit sibling fields that return per-user lists, since the same omission often appears in more than one resolver.

Hunting notes

This class of bug clusters around features with shared visibility: invitations, pending requests, drafts, moderation queues, shared albums, team memberships and anything with a "pending" state. Recon signals include field names in client bundles or GraphQL schemas that contain words like invite, pending, profiles or manager, and endpoints that accept a user or object identifier as a parameter rather than deriving it from the session. GraphQL is especially fertile because a single node lookup can expose many fields at once.

To get a report accepted, demonstrate the leak with two accounts you control, show the exact request and the response containing the other account's data, and state plainly what an unrelated user could learn. Avoid overclaiming: if you only proved disclosure, say so, as this report does. A short, reproducible proof with a clear before-and-after beats a long narrative.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 7 min read.

What happened, in plain words

Facebook has a feature for live gaming videos. A person or a page that acts as a gaming creator can ask other people to help moderate the comments on those videos. These helpers are called community managers, or CMs. When the creator invites someone, that person does not become a CM straight away. Instead they land on a pending list, a waiting list of invitations that have been sent but not yet accepted.

The researcher's starting assumption is simple: that waiting list should be private. Only the creator who sent the invite and the person who received it should know it exists. The report builds on earlier work about viewing that pending list, published at https://philippeharewood.com/missing-permission-check-when-viewing-pending-gaming-community-manager-list/. This follow-up looks at the same feature from the other side, the invitee's side.

The finding, in one line: a user's list of incoming gaming community invites is disclosed. In the report the field holding that list is called community_manager_invite_profiles. "Disclosed" here means the data could be read by someone who should not have been able to read it. The report does not include the request that produced the disclosure, the response, the account setup used, or the identity of anyone whose invites were exposed.

The timeline is short:

Date Event
Aug 1, 2021 Report sent
Aug 5, 2021 Fixed by Facebook

The report records the fix on Aug 5, 2021. The report gives no bounty amount, no severity rating and no CVSS score.

Root cause

The title names the mistake: a missing permission check. Think of a hotel where the receptionist checks your ID at the door but then hands out any room key you ask for. The system knows who you are; it just never asks whether the room is yours. The report's title names the mistake: a missing permission check. The report does not describe how the disclosure worked.

Pending invites are private by design, so the permission decision belonged at the moment the data was fetched, and it was missing or not strong enough there.

Impact

The report limits itself to disclosure. Someone not entitled to see them could read a user's incoming gaming community invites. The report limits itself to disclosure: someone not entitled to see them could read a user's incoming gaming community invites. The report does not claim that an attacker could accept, reject or forge invites, and it does not claim any account could be taken over. It also does not list exactly which fields came back. Treat the impact as a leak of pending-invite information.

In general, how this kind of bug works

This is an object-level authorisation failure. Authorisation is the decision about what a logged-in person is allowed to do; authentication is only the proof of who they are. The application authenticates the caller but never checks that the caller may act on the specific object requested, here a particular user's invite list.

Frameworks make this easy to get wrong. A resolver, the piece of server code that answers a data request, receives an identifier from the client, loads the matching record and returns it. The ownership check lives in a separate layer that someone forgot to call.

Pending-invite lists are a classic case because the same list is legitimately readable by two parties, the inviter and the invitee. That tempts developers to treat it as semi-public and skip the check. Defences are straightforward in principle: enforce authorisation in the data-access layer next to the query, not only in the interface or the router; take the subject from the session rather than from an identifier the client supplies; and test every field that returns another user's data with a second, unrelated account.

In general, how to test for it

  1. Map the feature. Note every request the browser makes when a creator invites a moderator and when the invitee views pending invites. Write down the identifiers in each request: user IDs, page IDs, invite IDs and any opaque tokens.
  2. Create two accounts, A and B, plus a page or creator account C. Have C invite A as a community manager so that A has a genuine pending invite.
  3. Capture the request A uses to list incoming invites. Replay it with B's session while keeping A's identifier in the request. A positive result is a response containing A's pending invite data returned to B.
  4. Vary the identifier: swap in IDs you do not control, try numeric neighbours, and try both the invitee-side and creator-side views of the same list.
  5. Check the mutation side too: attempt to accept or decline an invite belonging to another user, and confirm whether the server rejects it.

A positive result is a well-formed response with another user's invite records, not an error page. Common false positives: the endpoint returns an empty list or a generic object for unauthorised callers; the data returned is public profile information that happens to sit alongside the invite; or the browser caches a previous response so the replay looks successful when the server actually refused. Always confirm with a fresh session and a clean request.

In general, how it is fixed

The standard fix is a server-side authorisation check on every read of invite data: confirm that the logged-in caller is either the invited user or the creator who owns the invite, and reject everything else, ideally with a generic error that does not reveal whether the record exists. Where possible, stop accepting the subject identifier from the client and take it from the session. Add regression tests that replay each invite-related request with a second account, and audit sibling fields that return per-user lists, since the same omission often appears in more than one resolver.

In general, where to look

This class of bug clusters around features with shared visibility: invitations, pending requests, drafts, moderation queues, shared albums, team memberships and anything with a "pending" state. Recon signals include field names in client bundles or GraphQL schemas that contain words like invite, pending, profiles or manager, and endpoints that accept a user or object identifier as a parameter rather than deriving it from the session. GraphQL, a query language where one request can ask for many fields at once, is especially fertile because a single node lookup can expose many fields together.

To get a report accepted, demonstrate the leak with two accounts you control, show the exact request and the response containing the other account's data, and state plainly what an unrelated user could learn. Avoid overclaiming: if you only proved disclosure, say so, as this report does. A short, reproducible proof with a clear before-and-after beats a long narrative.

Glossary

  • Community manager (CM): a user invited by a gaming creator to moderate comments on live gaming videos.
  • Pending list: the set of invitations that have been sent but not yet accepted.
  • Disclosure: making data readable by someone who should not have access to it.
  • Field: a named piece of data in a response, such as community_manager_invite_profiles.
  • Permission check: the server-side test that confirms a caller is allowed to access a specific piece of data.
  • Authentication: proving who you are, usually by logging in.
  • Authorisation: deciding what a logged-in person is allowed to do or see.
  • Object-level authorisation failure: a bug where the caller is authenticated but the server never checks that the specific object requested belongs to them.
  • Resolver: the server code that answers a data request by loading and returning a record.
  • Endpoint: a specific address on a server that accepts requests for a particular feature.
  • Request: a message the browser sends to a server asking for data or an action.
  • Response: the data the server sends back.
  • Session: the server's record of who is logged in, usually tied to a cookie.
  • Cookie: a small piece of data the browser stores and sends back to the server to identify the session.
  • Token: an opaque string used to identify or authorise a request.
  • Identifier: a value such as a user ID or invite ID that names a specific record.
  • Replay: sending a captured request again, possibly with a different session or identifier.
  • Mutation: a request that changes data, such as accepting or declining an invite.
  • False positive: a result that looks like a bug but is not, for example a cached response or public data.
  • GraphQL: a query language where one request can ask for many fields at once.
  • Regression test: an automated test that checks a fixed bug stays fixed.
  • Recon: the exploratory work of mapping a feature and its requests before testing.
  • CVSS: a standard scoring system for the severity of a vulnerability.

More by Philippe Harewood

View all

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