Skip to content
Access control Write-up Beginner

Easy P1: Unlocking Pro & Enterprise Features via Developer Tools (Inspect) due to insufficient server-side validation

The SaaS platform enforced premium feature access only in the browser, using HTML attributes to disable buttons. An attacker could remove those attributes with developer tools and use Pro/Enterprise features without paying.

0d_samii Follow

Published on 0d-samii.medium.com

.بِسْ� اللَّه الرَّحْ� ن الرَّحِي� . . اللَّه� َّ صَلِّ وَسلَّ� وبارك على نَبِينَا � ُح� َّد Hello Hunters , I had the pleasure of collaborating with karemelsqaryon a private bug bounty program on HackerOne. Together, we uncovered an Improper Access Control Due to Missing Backend Validation.

0d_samii, on 0d-samii.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 did not verify the user's subscription or entitlement before performing premium actions, relying entirely on client-side HTML restrictions.

Impact

Any free user could unlock and use Pro and Enterprise features without a subscription, causing lost revenue and exposing paid functionality.

What the attacker needed

A free account on the SaaS platform; ability to use browser developer tools

The fix

The backend should check the user's subscription or entitlement on every premium action instead of trusting client-side HTML restrictions.

How it was found

  1. Log in with a basic user account that has no premium features.
  2. Notice that premium buttons use disabled and data-feature attributes in the HTML.
  3. Open the browser's Inspect tool and remove the disabled attribute from a premium button.
  4. Click the now-enabled button.
  5. Observe that the premium feature activates without any server-side check.
  6. Repeat on other premium features and find the same missing validation.

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 only hide or disable paid features in the page you see, rather than checking on the server whether you are allowed to use them. Anyone can edit the page in their browser to re-enable those buttons. Here, the server accepted the requests anyway, so a free user got paid features.

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.