Skip to content
Access control Write-up Beginner

How I Discovered a Flaw That Let Me Access Enterprise-Only Featur

The application hid Enterprise-only features behind a client-side popup, but the underlying endpoints were still reachable by anyone who knew their URLs. An attacker could find those endpoints in the JavaScript files and access paid functionality without upgrading.

Rajveer Follow

Published on medium.com

I was hunting a target, reported a few vulnerabilities, and will continue with my hunting.

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

Likely the server did not check the user's plan before serving the Enterprise feature endpoints, relying only on a client-side popup to block access.

Impact

A user on a free plan could use Enterprise-only features without paying, though the report does not show access to other customers' data.

What the attacker needed

A free account; knowledge of the endpoint URLs

The fix

The server should check the user's plan on every Enterprise endpoint instead of relying on a client-side popup.

How it was found

  1. Notice that Enterprise features are blocked by a popup that runs only in the browser.
  2. Try the guessed endpoint and see a Not Found response.
  3. Search the JavaScript files to find the exact endpoint paths.
  4. Open those endpoints directly in the URL and reach the Enterprise features without upgrading.

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 show certain features to paying customers, and they try to stop others by showing a popup in the browser. But the actual feature pages still exist on the server, and if you know the web address you can open them directly. This report shows that hiding a button is not the same as locking the door.

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.

More by Rajveer

View all

1 more disclosed report, best first.

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.