Subscription? No Thanks! We Hack Our Way In!
A paid-content website served the full article HTML in a response to an endpoint that reflected the article title, and the recipe paywall was only a client-side overlay that could be removed in the browser console. An attacker could read premium articles and recipes without paying.
medium.com
Published on medium.com
So baat un dino ki hai, jab mere paas 2 aankhein aur do haath the… matlab aaj ki hi hai! 😂
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 returned the full premium content without checking entitlement, and the paywall was enforced only in the browser.
Impact
Premium articles and recipes could be read without a subscription, since the content was delivered to the client and the paywall was only a browser-side overlay.
What the attacker needed
No subscription needed; ability to intercept web traffic; browser developer console
How it was found
- Open the article page and capture requests with an intercepting proxy.
- Block the subscribe-related requests, which did not stop the paywall.
- Find an endpoint where the article title is reflected in the request.
- Send that request to Repeater and observe the full article HTML in the response.
- Save the returned HTML locally and open it to read the article.
- For recipes, open the browser console and remove the paywall elements and restore page scrolling.
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 sites only hide paid content behind a pop-up or a script in the browser, while the full text is still sent to the visitor. Here the article text came back in a server response, and the recipe pop-up was just a page element that could be deleted with browser tools. Anyone who knows how to look at network traffic or open the browser console can read the content 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.