Skip to content
Business logic Write-up Beginner

My First Bug Report: Logical Flaw in Task Completion Allows Unaut

The server did not check whether a task had already been completed, so replaying the task completion request repeatedly increased the user's coin balance. An attacker could inflate their coin balance without doing the task multiple times.

Jaga Follow

Published on medium.com

Hello everyone! I’m Jagadeesan, a beginner in bug hunting.

Jaga, 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 server lacked a check for prior task completion and did not use a one-time token, allowing replay of the same request.

Impact

Users could artificially inflate their coin balance, compromising the rewards system and potentially causing financial loss.

What the attacker needed

A user account; ability to intercept HTTP requests

The fix

The server should validate task completion status and use unique one-time tokens to prevent replay attacks.

How it was found

  1. Log in to the website.
  2. Use Burp Suite to capture requests.
  3. Go to the Participate & Win section and complete the profile task to earn coins.
  4. Find the task completion request in Burp's HTTP history.
  5. Send the request to Repeater and resend it multiple times.
  6. Refresh the website and observe the increased coin balance.

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 complete a task in an app, your device sends a message to the server saying 'done'. The server should check if you already got a reward for that task. Here it did not, so sending the same message again and again gave more coins each time.

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.

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.