The “Invite Only” Loophole That Led to a $3,000 Payout
The invitation acceptance endpoint validated the invite token against the organisation it was issued for but did not check whether the user was allowed to join a different organisation supplied in the same request. By adding an extra organisation identifier pointing at the platform's internal admin organisation, the researcher was logged into the master admin panel with full visibility of all customers and data.
There is a specific kind of adrenaline that hits when you find a bug in a system that’s supposed to be “Invite Only.” It feels like finding a master key under the doormat of a high-security vault.
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 with any valid invite token could join an arbitrary organisation, including the platform's internal admin organisation, gaining full view of every customer, document and decrypted API key.
What the attacker needed
A valid invite token for any organisation; ability to intercept and modify requests
The fix
The server should derive the destination organisation only from the validated invite token and ignore any client-supplied organisation identifier; the text says a fix was deployed the same day.
How it was found
- Obtain a test login to the invite-only platform.
- Create two test organisations and send an invite from one to a secondary email.
- Intercept the invite acceptance request and change the organisation identifier to the other organisation; the server rejects it.
- Resend the request with an additional organisation parameter set to the platform's internal admin organisation.
- Observe that the response logs the user into the master admin panel.
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 accept an invitation, the server should check two things: that the invite token is real, and that the organisation you are joining is the one the token was created for. Here the server only checked the token, so adding a second organisation identifier let the researcher join an organisation he was never invited to, including the platform's own admin organisation.
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.