Locked Features, Unlocked Access: Breaking Restrictions with Resp
The platform relied on client-side response manipulation to enforce email verification and access controls, allowing an attacker to mark an unverified account as verified and download restricted VPN configuration and challenge files by altering server responses.
Published on medium.com
Hi everyone, I hope you are all doing well, My name is Muhammad Khatab, and this is my first write-up. I hope you find it insightful and beneficial.
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 relied on client-side response parameters and HTTP status codes to enforce access controls, without independent server-side verification.
Impact
Attackers could create fake verified accounts and download premium challenge files and VPN configurations without payment, affecting the platform's revenue and fairness.
What the attacker needed
A free account; ability to intercept HTTP responses
How it was found
- Register an account and intercept the registration response.
- Modify the emailVerifyAt parameter to true and isFreePlanUser to false in the response.
- Forward the modified response and refresh the dashboard to see the account marked as verified.
- Intercept a VPN configuration download request and change the response status from 400 to 200.
- Forward the modified response to download the VPN configuration file.
- Intercept a challenge file download request and change the response status from 400 to 200 to download the file.
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 trusted information sent back to the user's browser to decide if they were verified or allowed to download files. By changing that information, the attacker could pretend to be verified and download files they should not access.
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.