Skip to content
Race condition Write-up Intermediate

Bypassing the Group Member Limit via Race Condition

The group member limit of 100 could be bypassed by sending multiple invite requests in parallel when the group had 99 members, causing the group to exceed the limit. An attacker could use this to flood groups with extra members, potentially causing spam or resource overuse.

khaledelnabet Follow

Published on medium.com

The original lives on medium.com

We do not hold its text, 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 backend checked the member count and then added the new member without making the check and update atomic, so parallel requests could all pass the check before any addition was recorded.

Impact

This bypasses the group size limit and could lead to spamming or flooding groups, and might cause performance issues or resource overuse.

What the attacker needed

Ability to send parallel requests; group with 99 members; valid user IDs to invite

How it was found

  1. Invite a user after the group has 100 members and observe the error.
  2. Remove one user to bring the group down to 99 members.
  3. Prepare multiple invite requests for different user IDs in Burp Suite Repeater.
  4. Send all requests in parallel at the same time.
  5. Observe that all invites are accepted and the group exceeds 100 members.

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.

A group had a rule that only 100 people could join. The system checked the number of members before adding each new person, but if many requests arrived at the same moment, each check saw 99 members and allowed the addition, so the group ended up with more than 100. This is called a race condition: the timing of simultaneous actions breaks the intended limit.

What is Race condition?

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.

More by khaledelnabet

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.