Skip to content
IDOR Write-up Intermediate

Cross-Tenant Authorization Bypass

A role-assignment endpoint accepted a group identifier belonging to a different organization, so an attacker could link and control another tenant's group. This let the attacker add members, remove members and delete the group, even with no prior relationship to the victim organization.

medium.com

Published on medium.com

السلا� عليك� ورح� ه الله وبركاته ، الله� انصر إخواننا في غزة والسودان ولبنان وسائر بلاد ال� سل� ين، واحفظ ال� سجد الأقصى � سرى نبينا � ح� د ﷺ.

X-Ghost, 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 role-assignment endpoint trusted the client-supplied group identifier without verifying that the group belonged to the caller's organisation.

Impact

An attacker who knows a victim group's identifier could add members, remove members and delete the group, even with no prior relationship to the organisation.

What the attacker needed

A free account; knowledge of the victim group ID; no prior relationship needed

How it was found

  1. Create two organisations, one as attacker and one as victim.
  2. Invite the attacker account to the victim organisation as a Reader.
  3. Create a group in the victim organisation.
  4. From the attacker organisation, create a group and intercept the role-assignment request.
  5. Replace the group identifier in the request with the victim organisation's group identifier.
  6. Observe the server accepting the request and the attacker gaining control of the victim's group.

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 group is a bundle of users that an organisation manages together. The server was supposed to check that the group you name in a request belongs to your own organisation, but it did not, so anyone who knew another organisation's group identifier could take it over. The identifier is hard to guess, but it is not a secret that should grant control.

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.