Unauthorized Access to “About” Feature via Parameter Manipulation
The application hid the 'About' profile field from users at the 'New Level' but did not enforce the restriction on the server. An attacker could add the 'about' parameter to a profile update request and set the field before reaching the required level.
Hey everyone, mmnahian here! During one of my recent bug bounty hunting sessions, I stumbled upon an interesting authorization bypass vulnerability on a web application.
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 did not check the user's level before accepting updates to the 'about' field, relying only on the client-side interface to hide it.
Impact
Users could modify their profile before reaching the intended level, and similar parameter manipulation might bypass other restricted features, potentially leading to privilege escalation if more sensitive actions are affected.
What the attacker needed
A free account at New Level; ability to intercept requests
The fix
The application should validate the user's level on the server before accepting updates to the 'About' section, for example with role-based access control.
How it was found
- Log in as a user at the 'New Level'.
- Go to the profile section where the 'About' feature is disabled.
- Intercept the profile update request with Burp Suite.
- Add the 'about' parameter to the request body.
- Forward the modified request.
- Observe that the 'About' section was updated.
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 show different features depending on your account level. Here, the page hid the 'About' box from new users, but the server still accepted it if you sent the request yourself. This is a missing access check: the website trusted the browser to hide the feature instead of checking on the server.
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.