Skip to content
Race condition Write-up Intermediate

Race Condition Exploit Enables Free Plan Users to Access Premium

A race condition in the team invitation feature allowed a free-plan user to bypass the three-member limit by sending multiple invitation requests in parallel. An attacker could invite more members than allowed without paying for an upgrade.

Rawan Saeed Follow

Published on medium.com

I’m Rawan, also known as 0xSecgirl in the cybersecurity community. I’m currently a fourth-year student with a strong passion for penetration testing and bug hunting.

Rawan Saeed, 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 application checked the member limit and then added the invitation without making that check-and-add sequence atomic, so parallel requests could all pass the check before any invitation was recorded.

Impact

A free-plan user could invite more members than the allowed limit without paying, potentially adding unlimited members.

What the attacker needed

A free account; ability to create a team; intercepting proxy tool

How it was found

  1. Register an account and create a team with the free plan, which allows up to three members.
  2. Delete the third invitation slot to prepare for testing the limit bypass.
  3. Capture the team invitation request using an intercepting proxy.
  4. Duplicate the request three times and change the email field in each to a unique address.
  5. Group the requests and send them in parallel.
  6. Observe that all requests return a 201 Created status, confirming the invitations were sent despite the limit.

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 limit and then acts, but if two actions happen at almost the same time, both can pass the check before either updates the count. Here, the site checked how many members a team had, but sending several invites at once let them all succeed, so the team grew beyond the free 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.

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.