I Found the Entire Admin UI of a Live PlatformJust By Tweaking Traffic in Burp Suite
The frontend rendered the full admin and grader interface based on a role value in the response, which an attacker could alter with a proxy. The attacker could see all privileged UI elements, but server-side checks blocked every actual action.
infosecwriteups.com
Published on infosecwriteups.com
Hey, I’m Hamza Hashim. On socials I am known as refang.
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 frontend trusted a client-visible role value to decide which UI to render, instead of the server only sending markup for features the user is authorised to use.
Impact
An attacker could enumerate the full admin attack surface from the rendered UI, but could not perform any privileged actions because the backend enforced authorisation.
What the attacker needed
A free account as an intern; Burp Suite proxy; ability to modify responses
The fix
The text says the issue was fixed; the recommended fix is to make role-based rendering decisions server-side so the client never receives markup for unauthorised features.
How it was found
- Set up Match and Replace rules in Burp Suite to change the role value in responses.
- Log in through Burp's proxy as a Stage 0 intern.
- Observe that the browser renders the full admin and grader interface.
- Click admin features and see that they return 404s and errors because the server rejects the intern token.
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.
A website often decides what to show you based on a 'role' value sent from the server. Here, the server sent 'INTERN', but the person used a tool to change that word to 'GRADER' or 'SUPER_ADMIN' in the response. The website then showed the admin menus, even though the server still refused to let them do anything.
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.