Skip to content
Access control Write-up Beginner

The easiest 125 Euro’s I Ever made

The application allowed an administrator to deactivate a user with the Super Admin role, despite the manual stating this should be impossible. An attacker with admin privileges could deactivate all super admin accounts and lock other admins out of the system.

Thexssrat Follow

Published on thexssrat.medium.com

Hello amazing hackers ❤ I hope you are all doing well! Today i’d like to talk to you all about the easiest money i ever made.

The XSS Rat, on thexssrat.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 did not enforce the documented restriction that super admin accounts cannot be deactivated, allowing any admin to perform the action.

Impact

A malicious admin could deactivate all super admin accounts and lock every other admin out of the system.

What the attacker needed

Admin access to the application; ability to assign super admin role

The fix

The issue was fixed within a month, likely by enforcing the documented restriction that super admin accounts cannot be deactivated.

How it was found

  1. Register as a [REDACTED] account
  2. Create a user
  3. Activate that user via the email that was sent
  4. Log in to confirm the account works
  5. Log in as the administrator of the venue again
  6. Assign them to the [REDACTED] Super Admin 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 systems, some users have extra powers, like a 'super admin' who can manage everything. The manual said that even an admin should not be able to switch off such a super admin account. But the software did not actually enforce that rule, so an admin could still do it, which could cause disruption.

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.