Skip to content
Race condition Write-up Beginner

Bypassing Free Plan Subscription Limit via Race Condition

A free-plan user could publish more than the allowed one podcast by sending several publish requests at the same time. The application checked the limit without preventing concurrent requests, so the limit was bypassed.

Yahia_Ramadan Follow

Published on medium.com

Hello everyone, I’m Yahia, a Web Pentester and Bug Hunter, and I’d like to share an interesting race condition I discovered during testing.

Yahia Ibrahim khamis, 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 publish limit was enforced with a check-then-act sequence that was not atomic, so parallel requests all passed the check before any was recorded.

What the attacker needed

A free-plan account; ability to send parallel requests

How it was found

  1. Notice that free-plan users are limited to publishing one podcast.
  2. Create a group of three publish requests.
  3. Send the three requests in parallel.
  4. Observe that more than one podcast is published on the free plan.

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 something and then acts on it, but two actions can slip in between the check and the act. Here the site checked how many podcasts you had, then allowed the publish, and by firing several requests together the check passed for all of them before any was saved. The result is that a limit meant to allow one podcast let several through.

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.