How I Found a User That Couldn’t Be Removed From an Organizatio
An organization member could not be removed after joining with an email address containing encoded characters. The owner's removal attempts failed, so the account kept access to the organization.
Published 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 the application handled encoded characters in email addresses inconsistently, so the member removal process could not match the stored identifier.
Impact
A member could remain in an organization after removal attempts, so administrators could not reliably revoke access.
What the attacker needed
Organization owner or admin role; ability to invite by email; email with encoded characters
How it was found
- Create an organization.
- Invite a user with an email address containing encoded characters.
- Accept the invitation and check the user appears in the members list.
- As owner or admin, go to the Members page.
- Try to remove the affected user and see an error.
- Log in as the affected account and confirm access still exists.
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.
An organization lets an owner invite people by email and later remove them. If someone joins with an unusual email address, the removal step breaks, so that person stays in the organization even though the owner tried to remove them.
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.