Skip to content
Race condition Write-up Intermediate

Business Logic Bug to Bypass NO’s

A free plan limited each organisation to three applications and one owner, but sending several identical requests at the same moment let the attacker create more applications and end up with two owners. An attacker with a normal account could therefore exceed the plan limits and hold ownership of an organisation alongside another user.

medium.com

Published on medium.com

Each Organization can have one OWNER and can transfere the ownership to other member so via race condition you can set more than one Owner

Mustafa Abdullah, 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 plan limits and the ownership rule separately from the action that saved the change, without locking, so parallel requests all passed the check.

Impact

A user on the free plan could create more applications than allowed and could end up with two owners in one organisation, breaking the plan limits and the single-owner rule.

What the attacker needed

A free-plan account; ability to send parallel requests; a second account you control

How it was found

  1. Create a new application and send the request to Burp Suite Repeater.
  2. Put the same request into a group five or more times.
  3. Send the group in parallel.
  4. Observe that every request in the group created an application.
  5. Add a second account you control to the organisation.
  6. Intercept the ownership transfer request, duplicate it in a group, change the email in the second copy to your controlled account, and send both in parallel.

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.

Some websites check a limit and then save the change as two separate actions. If two requests arrive at almost the same instant, both can pass the check before either one saves, so the limit is broken. This is called a race condition, and here it let the user make extra apps and have two owners.

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.