I Found a Hidden Backend Action That Normal Users Should Never Re
The backend accepted workflow requests that the frontend hid from lower-privileged users, and it processed actions meant only for higher-privileged accounts. An attacker could replay and modify these requests to perform unauthorised actions.
Published on hackersatty.medium.com
But sometimes the real vulnerabilities are sitting quietly inside normal application workflows.
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 backend relied on the frontend to enforce access control and did not properly validate authorisation for workflow actions.
What the attacker needed
A valid user account; ability to intercept and modify requests
The fix
The backend should enforce authorisation checks for every workflow action, rather than relying on the frontend to hide features.
How it was found
- Monitor requests through a proxy and notice that different user roles send almost identical API requests.
- Replay a workflow creation request manually with modified workflow-related values.
- Observe that the backend processes actions that should be restricted to higher-privileged accounts.
- Explore hidden backend endpoints and compare responses to find internal functionality.
- Replay a request that exposes an internal action handler with modified values and confirm it executes successfully.
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 application's user interface hides certain features from normal users, but the server behind it still accepts requests for those features. A person who knows how to send requests directly to the server can bypass the hidden buttons and perform actions they should not be allowed to do.
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.