Skip to content
IDOR Write-up Intermediate

How a Small Chain Turned Duplicates into a Valid Bug with Post-Re

A guest user could access user information from any team member via multiple API endpoints, and an invitation endpoint leaked team data regardless of invitation permissions. By chaining a failed admin invitation with the invitation info endpoint, a member could still retrieve team information even after being removed from the workspace.

Ahmed Hassan Follow

Published on medium.com

Today I will share the story of how a little chain led to avoiding duplicates and gaining access after removal.

Ahmed Hassan, 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 missing or insufficient authorization checks on multiple API endpoints, allowing users with lower privileges to access data beyond their intended scope.

Impact

A guest could view information about any team member, and an invitation code could be used to retrieve team information even after the inviting member was removed, potentially exposing sensitive data.

What the attacker needed

A guest account; a member account; a second email address

How it was found

  1. A member sends an invitation with admin privileges to their second email.
  2. Nothing changes in the UI, but an invitation email is sent to the second account.
  3. Extract the invitation code from the email and use it with the vulnerable endpoint /invites/getone?invite_code=.
  4. The endpoint continues to work even after the member is removed from the workspace.

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.

The chat platform had several web addresses (endpoints) that returned information without properly checking who was asking. A low-privilege guest could see details about any user, and an invitation link could reveal team data even if the invitation itself was invalid. The reporter combined these small flaws to keep access after being removed.

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 Ahmed Hassan

View all

4 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.