Broken Access Control via Replay Attack
The platform's action buttons had a permission toggle that hid the button from other members when disabled, but the backend did not enforce the permission. An attacker could replay a previously captured request to execute the action even after the permission was revoked.
medium.com
Published on medium.com
So I was poking around on a target, lets call it Monday.com, doing my usual bug bounty thing, and I stumbled into something really interesting.
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 does not validate the permission on each request, relying only on the frontend to hide the button.
Impact
A member could still execute the action button after the admin revoked permission, bypassing the intended access control.
What the attacker needed
Admin creates action button; permission enabled for members; member captures request; admin disables permission
The fix
The backend should validate permissions on every request, not just rely on the frontend hiding the button.
How it was found
- Log in as admin, create an action button, and enable the permission for other members.
- Switch to another member's account, click the button, and capture the HTTP request.
- Go back to the admin account and disable the permission.
- Check the other member's dashboard and confirm the button is gone.
- Replay the saved request and observe that the action still succeeds.
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.
This is a broken access control bug. The website hides a button when you are not allowed to use it, but the server that actually does the work never checks if you are allowed. So if you saved the request earlier, you can send it again and the server will still do the action.
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.