How I Bypassed a Paid Feature Using Just Browser DevTools
A premium PDF upload feature was disabled only in the browser's HTML, so a free user could remove the disabled class and upload PDFs anyway. The server never checked whether the account had a paid plan, letting anyone use the paid feature without upgrading.
Published on medium.com
Finding a vulnerability doesn’t always require complex exploitation. Sometimes, a simple inspection of the frontend reveals serious access control flaws.
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 enforced the premium restriction only in the frontend and did not verify the user's plan on the server.
Impact
A free user could use the paid PDF upload feature without upgrading, which could cause revenue loss and allow abuse of the upload functionality.
What the attacker needed
A free account; browser developer tools
The fix
The server should check the user's subscription plan before accepting any upload, rather than relying on a frontend disabled state.
How it was found
- Create a free account and log in.
- Create a new content set using the instant set and AI generator.
- Open Edit Content and click the PDF upload option to see the upgrade message.
- Inspect the upload component in developer tools and find the disabled class.
- Remove the disabled class from the element and close developer tools.
- Upload a PDF successfully despite being on the free plan.
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 hide or grey out paid features in the browser, but the real check should happen on the server. Here the server trusted the browser's word that the feature was locked, so editing the page in developer tools unlocked it. Developer tools are built into every browser and let you change the page you are looking at.
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.