Skip to content
Business logic Write-up Beginner

Increasing reward points N number of time

The quiz submission endpoint awarded reward points each time the same answer request was replayed, because it never checked whether that quiz had already been completed. An attacker could resend the request many times in parallel and accumulate unlimited reward points, which the application treats as money.

Saddam Hussain Follow

Published on web.archive.org

As this was a private program all illustrations of vulnerabilities will be represented with the host as example.com

Saddam Hussain (@wisdomfreak1), on web.archive.org

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 awarded points purely on the submitted answers without recording that the quiz attempt had already been rewarded, so the same request could be replayed.

Impact

An attacker could inflate their reward point balance without limit, and since points are exchangeable for money, this could cause direct financial loss to the platform.

What the attacker needed

A free account; ability to intercept HTTP requests; a completed quiz attempt

How it was found

  1. Play a free quiz and submit answers that earn the minimum reward points.
  2. Intercept the answer submission request.
  3. Send the request to the intruder tool and set a null payload with many repetitions.
  4. Raise the thread count and run the attack so the request is replayed many times.
  5. Observe the reward points balance increasing with each replay.

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.

When you finish a quiz, your browser sends a message to the server saying which answers you gave. The server checks the answers and adds points to your balance. Here the server never checked whether you had already been paid for that quiz, so sending the same message again and again kept adding points, and points can be spent like money on the site.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by Saddam Hussain

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.