Skip to content
Access control Write-up Intermediate

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.

hackersatty Follow

Published on hackersatty.medium.com

But sometimes the real vulnerabilities are sitting quietly inside normal application workflows.

hackersatty, on hackersatty.medium.com

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

  1. Monitor requests through a proxy and notice that different user roles send almost identical API requests.
  2. Replay a workflow creation request manually with modified workflow-related values.
  3. Observe that the backend processes actions that should be restricted to higher-privileged accounts.
  4. Explore hidden backend endpoints and compare responses to find internal functionality.
  5. 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.

More by hackersatty

View all

8 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.