Skip to content
Business logic Write-up Beginner

Getting access to disabled/hidden features with the help of Burpsuite Match and Replace settings

A trial-period restriction on project management features was enforced only in the browser, not on the server. By flipping boolean flags in an API response from false to true, a user could keep using paid features after the free trial ended.

Johns Simon Follow

Published on medium.com

A few months ago, During my bug bounty hunting, I came across a Company that lets other developers create API documentation similar to what swagger does and the company provides a 12 day free trial for the developers using their services. Apart from creating documentation they also allow it to be published on their…

Johns Simon, 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

A user could keep using and publishing projects after the free trial expired, bypassing the paid plan.

What the attacker needed

A free trial account; ability to intercept responses

The fix

The text says the company fixed it, but does not describe how; the proper fix is to enforce the trial limit on the server for every protected action.

How it was found

  1. Notice that the project page briefly appears on refresh before redirecting away, suggesting a browser-side check.
  2. Find the API call that returns the feature flags for the project.
  3. Use Burp's match and replace to change false values to true in that response.
  4. Reload and reach the project management page after the trial has ended.

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.

Some websites decide what you are allowed to see in your own browser, rather than asking the server each time. If the browser is the only guard, a user can edit the server's reply on the way in and unlock things they were not meant to have. Here the paid features stayed usable after the free trial ran out.

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.