Skip to content
Business logic Write-up Beginner

I want all these features

The eCommerce site lacked server-side validation of subscription features and user counts, allowing an attacker to manipulate JSON requests to obtain pro features on an entry subscription and add users without paying. This could lead to financial loss for the site and unauthorised access to premium features.

Mohamed Ayad Follow

Published on medium.com

today we are going to discuss 2 logic bug that awards me 3 digit bounty in an eCommerce site designed for engineers to ease their life.

Mohamed Ayad, 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

Impact

An attacker could obtain all pro features while paying for an entry subscription and add extra users without paying the $500 fee per user, causing financial loss to the site.

What the attacker needed

A free trial account; ability to intercept HTTP requests

How it was found

  1. Go to the subscription page, choose the entry level, intercept the request and send it to repeater.
  2. Do the same with the pro level.
  3. From the JSON body request, copy all features from the pro tab and paste them into the entry tab.
  4. Send the request and open the subscription link in the browser.

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 buy a subscription, your browser sends a request to the server saying which plan you want. The server should check that you actually paid for that plan, but here it didn't. So a user could change the request to ask for a better plan or extra users without paying.

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 Mohamed Ayad

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.