Skip to content
Access control Write-up Intermediate

The Unicode Trick That Let Me Takeover an Entire Organization

The organization invitation feature blocked email addresses containing special characters in the UI, but the server accepted them when the request was modified. An attacker could invite an account with a non-existent email address that the owner could not remove, creating a persistent admin account.

xs0x Follow

Published on xs0x.medium.com

So, here’s how I usually approach any program. I start by exploring it a bit, diving into every path and checking out every function.

Hosam S3dawi, on xs0x.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 server did not validate email addresses for special characters, relying only on client-side checks.

Impact

An admin could create a permanent admin account that the owner cannot remove, leading to full organization takeover.

What the attacker needed

Admin or owner role in the organization; ability to intercept and modify requests; email receiving service like Burp Collaborator

How it was found

  1. Intercept the invitation request in Burp.
  2. Add a special character to the email address in the request.
  3. Send the invitation and receive the email via Burp Collaborator.
  4. Register an account using the received email.
  5. Observe that the owner cannot remove the new admin account.

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.

A website let admins invite new members by email, but it only checked for unusual characters in the browser, not on the server. By changing the request, an attacker could add an admin account that the owner could not delete, giving them lasting control over the organization.

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.

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.