IDOR Vulnerability in Campaign Workflows – Accessing Archived Campaigns of Any User 150$
The campaign-workflow PATCH endpoint did not check that the workflow belonged to the caller, so changing the numeric workflow ID let any authenticated user archive or view another user's workflow. The server returned 200 OK and the other user's workflow data.
Published on medium.com
Hi, I’m Hasan Khan, a Web Application Penetration Security researcher and bug bounty hunter from Bangladesh. I specialize in ethical hacking, vulnerability analysis, and dynamic application security testing.
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 endpoint performed authentication but no object-level ownership check before acting on the workflow ID.
Impact
Any authenticated user could archive, view, or potentially modify other accounts' workflows, exposing sensitive business logic and breaking tenant isolation in the multi-tenant SaaS environment.
What the attacker needed
An authenticated account; knowledge of another user's workflow ID
The fix
The endpoint should enforce object-level authorization to verify ownership before processing requests, and could use opaque or randomised identifiers instead of predictable numeric IDs.
How it was found
- Send a legitimate PATCH request to archive your own campaign workflow and note the 200 OK response.
- Change the workflow ID in the request to another user's archived workflow ID.
- Send the tampered request and observe the 200 OK response containing the other user's workflow data.
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 workflow is a saved campaign setup in the app. The server accepted a request to change a workflow just because the caller was logged in, without checking that the workflow was theirs. Changing the number in the address to someone else's workflow number let the attacker act on that person's data.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.