Skip to content
Access control Write-up Beginner

Bug Bounty: The Secret Endpoint That Made Premium Free

A premium feature endpoint was accessible to free accounts because the backend only checked authentication, not subscription status. An attacker with a free account could use the paid Forms feature, including creating unlimited forms.

medium.com

Published on medium.com

I signed up for a free account → used Wayback Machine → found /forms → opened it → full access to a premium feature (unlimited forms) without paying.

0xAmmar, 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-side code only verified that a user was authenticated and did not check whether the user's subscription plan included the Forms feature.

Impact

Free users could access a premium feature, causing revenue loss and potential compliance and trust issues.

What the attacker needed

A free account

The fix

The server should enforce authorization by checking the user's subscription plan before allowing access to premium endpoints.

How it was found

  1. Create a free account and log in.
  2. When prompted to choose a subscription plan, go back to the homepage instead of upgrading.
  3. Use the Wayback Machine to find older paths on the domain.
  4. Open the /forms path directly.
  5. Use the Forms dashboard to create unlimited forms.

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 website had a paid feature called Forms, but the server only checked that you were logged in, not that you had paid for it. So anyone with a free account could open the hidden page and use the paid feature for free.

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.