Skip to content
Business logic Write-up Beginner

Business Logic Flaw That No One Knows About !

The platform failed to remove a user's subscriptions when that user deleted their account, so the follower count of the followed account stayed inflated. An attacker could repeatedly create and delete accounts to add unlimited fake followers, faking popularity on a car marketplace.

medium.com

Published on medium.com

For Non-Members : FREE LINK

TSxNINJA, 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 backend did not link subscriptions to user lifecycle events such as account deletion, so deleted users left permanent follower records.

Impact

An attacker could fake popularity to build trust and potentially scam users into buying non-existent vehicles or sharing personal details through phishing links; the report does not mention any defence limiting the exploit.

What the attacker needed

Ability to create accounts; ability to delete accounts; same email reusable for re-registration

The fix

When a user deletes their account, all their active subscriptions should be removed, and the follower count should reflect only valid existing subscribers rather than simple increments.

How it was found

  1. Create two accounts in two different browsers: Account A as the main profile and Account B as the exploiting profile.
  2. Log in as Account B and subscribe to Account A.
  3. Delete Account B.
  4. Check Account A: the subscriber count still increased by one.
  5. Re-create Account B using the same email, subscribe again, and delete again to repeat the cycle.

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 flaw is when a website follows its own rules but those rules are badly designed. Here, deleting an account should also remove the follows that account made, but the site forgot to do that. So someone can keep making new accounts, following a seller, and deleting the account, and the seller's follower number keeps going up.

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.