Invite Me Once, I Own Your Account!” (HINDI + ENGLISH)
The invite signup flow trusted the email address submitted in the signup request rather than the email the invite was issued to, so a user could sign up with their own address and still receive the invited workspace access. Separately, an invite link opened in a browser already logged in as a different user granted that session the invited access, which could have included admin rights.
medium.com
Published on medium.com
जैसे ही मुझे पता चला कि मेरे दोस्त को swag मिला है, मुझे भयंकर जलन हुई! भाईसाहब, जल के राख हो गया! 😤🔥 सोचा, “चलो, एक तगड़ा बग ढूंढते हैं, क्या पता किस्मत साथ दे दे!” 😏
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 server bound workspace access to the invite token alone and never verified that the submitted or logged-in email matched the invited email.
Impact
An attacker holding an invite link could join a workspace with their own account, and if the invite carried admin role permissions they could have become an admin.
What the attacker needed
An invite link to a workspace; a browser session logged in as another user
How it was found
- Send an invite to a fresh email address and copy the link from the invitation mail.
- Open the invite link in a browser with no account for that address; it leads to the signup page with the email field locked.
- Intercept the signup request, replace the email with your own, and forward it.
- Open the confirmation link that arrives at your own address; the account is created with full workspace access.
- Invite a third address from one logged-in browser, then open the invite link in a second browser logged in as a different user.
- Observe that the second browser's account receives the invited access.
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 a company invites someone to a shared workspace, the invite is meant for one specific email address. Here the signup form showed that address as locked, but the request behind the form could still be edited, so the server accepted a different address and handed over the workspace anyway. In the second case, the invite link simply gave access to whoever was already logged in on the browser that opened it, instead of checking that the logged-in person matched the invited address.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.