Skip to content
IDOR Write-up Beginner

IDOR Leads To Project Takeover

The collaboration invite endpoint accepted a project ID and role from the request without verifying the sender's permission, so an attacker could invite themselves to any project as owner. This allowed them to edit, delete, add users, and remove the original owner.

Hariharan.s Follow

Published on medium.com

{{media:0}}

Hariharan.s, 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 take over any project by inviting themselves as owner, then edit, delete, add users, or remove the original owner.

What the attacker needed

A user account on the service; knowledge of the victim's project ID

How it was found

  1. Capture the collaboration invite request.
  2. Change the project_id to the victim's project ID.
  3. Change the role to 0 (Owner).
  4. Change the emails parameter to your own email.
  5. Forward the request and check your inbox for the invite.

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.

When you invite someone to a project, the website should check that you actually own that project. Here, it didn't check, so anyone could send an invite for any project and make themselves the owner. That gave them full control over someone else's work.

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.

More by Hariharan.s

View all

3 more disclosed reports, best first.

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.