Skip to content
Access control Write-up Intermediate

Bug-Bounty | FASTMAIL [topicbox.com: Privileges Escalation > Organization Takeover]

An admin could escalate to owner by sending a crafted request, and a member could change an 'isEnternal' flag to create groups and become admin. Combining these allowed takeover of any organization.

Mohammed ELdawody Follow

Published on medium.com

I would like to share with you one of my findings in Fastmailcompany, I was able to find an account takeover vulnerability in one of their sites “topicbox.com”

Mohammed Eldawody, 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 server trusted client-supplied role and flag values without checking the user's actual permissions.

Impact

An attacker could take over any organization, remove anyone and do anything they want.

What the attacker needed

A member account in the target organization

How it was found

  1. Join any organization as a member
  2. Change 'isEnternal' from false to true in account data
  3. Create a group and become admin of it
  4. Make yourself an owner

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.

The site lets people join organizations with different roles, like member or admin. A flaw let a normal member change a hidden setting to create their own group and become its admin, then use another flaw to make themselves owner of the whole organization. That meant they could remove anyone and control everything.

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 Mohammed ELdawody

View all

1 more disclosed report, best first.

More from Fastmail

View all

The newest disclosed reports for this program.

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.