Skip to content
Business logic Write-up Beginner

Business Logic Errors - A New Look

The report feature for comments could be abused by sending many report requests, causing the comment to be deleted. An attacker could delete any user's comment, and the same flaw may affect other content types like posts or profiles.

Shrey Shah Follow

Published on medium.com

{{media:0}}

Shrey Shah (Jerry), 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 automatically deletes content after a threshold of reports without verifying that the reports come from different users or are legitimate.

What the attacker needed

A free account; target has a report or flag feature; ability to intercept requests

How it was found

  1. Go to a website that has a comment feature.
  2. Find a comment to target.
  3. Use the report comment feature and select any report option.
  4. Intercept the report request with Burp Suite and send it to Intruder.
  5. Set a null payload with unlimited requests and 100 threads, then start the attack.
  6. Wait for about 900 requests, then reload the comment page to see if the comment is deleted.

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 business logic error is a flaw in how a feature is supposed to work, not a technical bug. Here, the report button was meant to flag bad comments, but sending many reports made the system delete the comment instead of just reviewing it. This let an attacker remove other people's comments.

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 Shrey Shah

View all

6 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.