Skip to content
Race condition Write-up Beginner

How I Found 2 Medium Bugs That Broke Business Logic♦️

A free trial limited users to five seats in Test Management, but the seat-grant request could be replayed to add more users than allowed. Separately, an AI feature capped at ten questions per day could be bypassed by replaying the question request, so the limit was not enforced.

infosecwriteups.com

Published on infosecwriteups.com

My Target is a cloud testing platform that allows developers to test their websites and mobile apps across multiple real browsers, operating systems and devices, and provides real time access to environments like Chrome

Mado, on infosecwriteups.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 server checked the seat or question limit and then performed the action without making the check and the action atomic, so replayed requests each passed the check.

Impact

An attacker on a free plan could grant more Test Management seats than paid for and could ask the AI feature unlimited questions, bypassing the plan limits; the author rates both as medium severity.

What the attacker needed

A free trial account; ability to capture and replay requests

How it was found

  1. Invite five users to the organisation and use up all five Test Management seats.
  2. Remove access from one user so only four seats are used.
  3. Invite another user and capture the request that grants Test Management access.
  4. Replay the captured request repeatedly in the repeater to grant more than five seats.
  5. For the AI feature, send a question and capture the request.
  6. Replay the question request to exceed the ten-per-day 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 is when a program checks a limit and then acts, and if you send the same request many times at once the check can be passed more times than intended. Here the author replayed a request that grants a user access, so more users got access than the five the free plan allowed. The second bug is simpler: the daily question limit for an AI chat was only shown in the page, not enforced on the server, so resending the request kept working.

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.