No Way Out: Enforced and Inescapable Organizational Membership
An invitation endpoint let an admin invite any email address, and once a user accepted, they could not leave the organization or create their own. An attacker could therefore block many users from signing up with their own email and trap them inside an organization they cannot exit.
.بِسْ� اللَّه الرَّحْ� ن الرَّحِي� . . اللَّه� َّ صَلِّ وَسلَّ� وبارك على نَبِينَا � ُح� َّد
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 invitation flow reserved an email address for the inviting organization without checking consent, and the app enforced a single-organization membership with no way to leave or decline.
Impact
An attacker could block many users from creating their own organizations and trap those who accept inside an organization they cannot leave, disrupting normal use of the platform.
What the attacker needed
An Owner or Admin account; victim receives an invite email; victim accepts the invitation
How it was found
- Sign in to the dashboard with an Owner or Admin account.
- Go to the members settings and invite a new user by email.
- As the invited user, try to sign up without accepting and see that the email is blocked from creating an organization.
- Accept the invitation, then try to delete your own account and find you cannot remove yourself.
- Try to create your own organization and find you cannot be in more than one.
- Capture the invite request and send many invitations to different emails, with no limit on how many can be sent.
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.
Many apps tie each account to one organization. Here, an admin could send an invite to any email address, and the app then treated that email as already belonging to the organization. The invited person could not start their own organization and, after joining, had no way to leave, so an attacker could lock people into an organization they control.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.