Skip to content
Access control Write-up Beginner

How I Found a Server-Side Entitlement Issue That Allowed Free Users to Access Premium Features

A SaaS platform's backend did not check subscription entitlements, so a Free-tier user could call premium API endpoints directly and use features such as a security dashboard, secrets management and premium workspace settings. The attacker could access and use functionality intended for higher-paying plans without upgrading.

ahmed_samy Follow

Published on medium.com

While testing a SaaS platform through its VDP, I noticed that several features were only available to higher subscription tiers.

Thoristo, 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

The backend APIs did not consistently verify whether the workspace's subscription plan authorised access to premium features, relying instead on the frontend hiding them.

Impact

A Free-tier user could access and use premium functionality without upgrading, breaking the application's authorisation model, though the issue did not allow access to another user's data.

What the attacker needed

A Free-tier account; knowledge of the API endpoint

The fix

The backend should enforce subscription entitlement checks on every premium API endpoint, not just hide features in the frontend.

How it was found

  1. Modify the plan value returned to the browser to reveal premium sections in the UI.
  2. Send a direct request to the security-summary endpoint for the Free workspace.
  3. Observe a successful response instead of an authorisation error.
  4. Send a direct request to add a secret via the secrets endpoint.
  5. Observe the server processing the request successfully.
  6. Send a direct request to update premium workspace settings and observe they are saved.

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 website often hides features from users on cheaper plans, but hiding a button is not the same as blocking the action. Here the server behind the website accepted requests for paid features from a free account, so anyone who knew the request could use them. This is a missing permission check on the server side.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.