Skip to content
Business logic Write-up Intermediate

Excessive Data Exposure Leading to Unauthorized Access to Paid Fe

An API endpoint exposed all subscription plan details, and the application trusted client-side response data for plan enforcement. By modifying the login response to show an Enterprise plan, the attacker gained access to paid features without payment.

Kanishkakhandelwal Follow

Published on cyber-tech-by-kk.medium.com

Hi, let me introduce myself — I’m Kanishka Khandelwal. I’m currently working as an Associate Security Engineer, and apart from my day job, I spend most of my time doing bug bounty.

Kanishkakhandelwal, on cyber-tech-by-kk.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

The application relied on client-side data (plan and feature flags) for authorization without server-side validation.

Impact

The attacker could access enterprise-only features, enable restricted integrations, and bypass payment, with changes persisting across sessions.

What the attacker needed

A free account; ability to intercept HTTP traffic

The fix

The application should enforce plan validation and authorization strictly on the backend, never trusting client-side data.

How it was found

  1. Log in with interception enabled to capture the initial-data response.
  2. Intercept the response of the initial-data request.
  3. Replace the trial plan data with enterprise plan data from the exposed API.
  4. Add enterprise-level features to the featureFlags array.
  5. Forward the modified response and turn off interception.
  6. Observe the UI showing Enterprise Plan and access premium features.

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 decided which paid features you get based on information sent to your browser, which you can change. By editing that information during login, the tester made the app think they had a paid plan, unlocking 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 Kanishkakhandelwal

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.