Skip to content
IDOR Write-up Beginner

How i Found My first IDOR On Heavily Tested Target

The delete-workshop endpoint accepted an organisation identifier supplied by the client and did not check that the caller owned that organisation, so changing the identifier deleted another user's workshop. An attacker could delete other users' workshops.

pawanparmarofficial45 Follow

Published on medium.com

its my first year in bug bounty i did received some bounties but at a point i got disappointed from getting nothing just some duplicates and P5 so one day out of no where i decided to test site who have only Hall Of Fame as reward to get at least a medium high bug which can encourage me to do more .

Pawan parmar, on 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 server trusted the organisation identifier in the request and never verified that the authenticated user belonged to that organisation before deleting the workshop.

Impact

An attacker could delete other users' workshops, and the CSRF token was not validated, so the action could also be triggered cross-site.

What the attacker needed

An account on the target site; knowledge of another user's organisation id

How it was found

  1. Browse the workshop feature and capture requests in an intercepting proxy.
  2. Notice the delete-workshop request, which carries a CSRF token and an organisation identifier.
  3. Test the CSRF token and find it is present but not validated.
  4. Replace the organisation identifier with another user's identifier and send the request.
  5. Observe a 200 OK success response, confirming the other user's workshop was deleted.

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.

An IDOR (Insecure Direct Object Reference) happens when a website lets you act on a record just by naming its identifier, without checking that the record belongs to you. Here the delete-workshop request included an organisation identifier, and swapping it for someone else's identifier still succeeded, so the site deleted a workshop the attacker did not own.

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.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

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.