Skip to content
Business logic Write-up Beginner

Business logic vulnerability : Permanent Comments lock

A team member could send an invalid value in the reactions parameter when reacting to a comment, which caused the comment section to become permanently locked for all users. This allowed any member to deny access to the comment section indefinitely.

sayedv2 Follow

Published on sayedv2.medium.com

I’m Mohamed Sayed (@sayedv2), and today I’m excited to share with you a fascinating story about a business logic vulnerability I discovered in a public bug bounty program.

Mohamed Sayed, on sayedv2.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 did not validate the 'reactions' parameter and stored an invalid value that broke the comment section's state permanently.

What the attacker needed

A team member account; ability to intercept HTTP requests

How it was found

  1. Create or join a team and open an item with a comment section.
  2. React to a comment and intercept the request.
  3. Change the 'reactions' parameter to a random value and send the request.
  4. Refresh the page; the comment section is now permanently locked.

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 vulnerability is a flaw in how an application is supposed to work, not a technical bug like a crash. Here, the app accepted a nonsense value for a reaction and then got stuck, locking the comment section for everyone. An attacker only needed to be a normal team member to cause this denial of service.

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.