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.
Published on medium.com
{{media:0}}
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
- Capture the collaboration invite request.
- Change the project_id to the victim's project ID.
- Change the role to 0 (Owner).
- Change the emails parameter to your own email.
- 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.