Skip to content
Access control Write-up Beginner

Privilege escalation worth — $$$

An admin-level user could invite a new member with the OWNER role by changing the role value in the invite request, gaining full access to the organisation. The server accepted the elevated role without checking the inviter's permissions.

medium.com

Published on medium.com

Hi All, I am zildaxx from Morocco this is my first write-up in medium i hope you will like it.

zildaxx, 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

Impact

A limited admin could grant full owner access within the organisation, effectively escalating privileges.

What the attacker needed

An admin-level account; ability to send an invite request

The fix

The server should validate that the inviter has permission to assign the requested role, and it was fixed according to the report.

How it was found

  1. Create two accounts, one owner and one admin.
  2. Log in as the admin and invite a new member.
  3. Intercept the invite request and change the role from MEMBER to OWNER.
  4. Send the request and observe the server accepting the owner role.

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.

In many apps, users have roles like admin or owner that decide what they can do. The app let a lower-privileged admin send an invite that asked for the highest role, and the server simply accepted it. That means someone with limited rights could give themselves or a friend full control.

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.