Skip to content
IDOR Write-up Intermediate

Idor Is Easy ! You may Don’t know ! The Longest PrivEsc I’v

The report describes an IDOR vulnerability in a multi-tenant application where role IDs are sequential and predictable. An attacker could escalate their privileges to organisation admin in a victim's organisation by manipulating role IDs during user editing.

Ahmed Elheny Follow

Published on medium.com

welocme Volk’s , it’s Ahmex00 again with my highlighted report in my first year in BugHunting Journay , So let’s start

Ahmed Elheny (Ahmex000), 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

Impact

An attacker could escalate their privileges to organisation admin in a victim's organisation, gaining full control over that organisation's settings and users.

What the attacker needed

Victim invites attacker as regular user; attacker has two accounts; attacker can create an organisation

How it was found

  1. Victim invites attacker-account-one as a regular user with access to all groups.
  2. Attacker creates attacker-account-two and invites attacker-account-one to it with any role and access to all groups.
  3. From attacker-account-two, the attacker edits attacker-account-one and changes the role ID to the victim's org admin role ID.
  4. Attacker-account-one becomes org admin in the victim organisation.

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 about a website where each organisation has roles like admin or regular user. The IDs for these roles are simple numbers that go up by one, so if you know one, you can guess the others. The attacker found a way to change their own role to admin in someone else's organisation by editing a user and swapping the role ID.

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.