Skip to content
Business logic Write-up Beginner

Mrs 2 Bypassing Premium Features By Checking Premium Validation Parameters

A business logic flaw let a non-premium user add notes to an asset by changing a premium flag in the request. The attacker could use a paid feature without paying.

can1337 Follow

Published on infosecwriteups.com

Hi, this write-up series was created to share the original reports of some vulnerabilities I found, with the necessary corrections made. Report content will be shared directly without any comments or explanations.

can1337, on infosecwriteups.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 server trusted a client-supplied 'premium' parameter instead of checking the user's actual subscription status.

Impact

A non-premium user could use the premium notes feature and store notes permanently, bypassing the paid restriction.

What the attacker needed

A free account; ability to intercept and modify requests

The fix

The server should check the user's actual subscription status on the backend instead of trusting a client-supplied premium parameter.

How it was found

  1. Go to the My Assets page and create a new asset, completing the whole process.
  2. Open Burp Suite with interception on and click the edit arrow for the created asset.
  3. In the intercepted request, change the premium parameter from false to true and submit it.
  4. Return to the page, click edit, and you can now change the Additional Information (notes) field.
  5. Save the changes and the notes are stored permanently.

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.

The app decides if you are premium by trusting a value sent from your browser. A user can change that value to 'true' and the server believes it, so they get premium features for free.

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 can1337

View all

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