Skip to content
Access control Write-up Intermediate

Beyond Error Messages Super Admin Deletion Due To Broken Access Control

An administrator could delete the super admin's privilege profile despite lacking permission, causing the super admin to be demoted to a regular staff member. The attacker could also remove the super admin's ability to invite new administrators.

V3D Follow

Published on infosecwriteups.com

Hope you are doing well and taking care of your health, this side V3D. I am writing a quick write-up of one of my findings.

V3D, on infosecwriteups.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 verify that the requesting user had permission to delete the super admin's privilege profile, only checking that the user was an administrator.

Impact

An administrator could demote the super admin to a regular staff member and remove their ability to invite new administrators, potentially disrupting team management.

What the attacker needed

Two accounts; one account invited as administrator; removed account retains access

How it was found

  1. Create two accounts, one as super admin and one as administrator.
  2. Have the super admin invite the second account as an administrator.
  3. As the super admin, remove the second account.
  4. Log in as the removed account and go to the Team settings, then Privilege profile.
  5. Click the action tab for the super admin's profile and choose Delete.
  6. Observe that the super admin's privileges are removed and they become a regular staff member.

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, different users have different levels of power, like a boss and an employee. The app was supposed to stop an employee from deleting the boss's special powers, but it did not check properly. So the employee could secretly remove the boss's powers, leaving the boss unable to do boss things.

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 V3D

View all

2 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.