Skip to content
Access control Write-up Beginner

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.

Ahmed Mahmoud Follow

Published on medium.com

“سُبْحَانَكَ لا عِلْ� َ لَنَا إِلَّا � َا عَلَّ� ْتَنَا إِنَّكَ أَنْتَ الْعَلِي� ُ الْحَكِي� ُ”

Ahmed Mahmoud, 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

  1. Create an organization.
  2. Invite a user with an email address containing encoded characters.
  3. Accept the invitation and check the user appears in the members list.
  4. As owner or admin, go to the Members page.
  5. Try to remove the affected user and see an error.
  6. 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.

More by Ahmed Mahmoud

View all

6 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.