Skip to content
Race condition Write-up Intermediate

Race condition bypassing team limit

A team-invite endpoint enforced a free-plan limit of five members but processed concurrent requests without proper synchronisation. By firing many invite requests in parallel, the tester added 22 members, bypassing the paid-plan restriction.

Arbaz Hussain Follow

Published on medium.com

{{media:0}}

Arbaz Hussain, 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

Root cause

Likely the member-count check and the invite action were not atomic, so concurrent requests all passed the limit check before any of them updated the count.

Impact

An attacker could add more team members than the free plan allows, avoiding the paid upgrade.

What the attacker needed

A free account; ability to send parallel requests

How it was found

  1. Capture the request that adds a member to a team.
  2. Put a list of email addresses into the emails parameter and send it to the intruder tool.
  3. Set the thread speed to around 10 to 15 and start the attack.
  4. Observe that more than the free limit of five members were added.

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 race condition happens when a program checks a rule and then acts on it, but two requests arrive so close together that both pass the check before either one updates the count. Here the site checked the five-member limit per request, so sending many invites at once let more than five through. The tester used a tool that fires requests in parallel to exploit this.

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 Arbaz Hussain

View all

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