Skip to content
Access control Write-up Intermediate

️‍♂️ From User to Super Admin: A Hacker’s Playbook for

The author found exposed admin API endpoints and role/permission metadata on a fintech platform, then used fuzzing and JavaScript analysis to understand how roles are assigned. The text claims a chain of misconfigurations allowed escalating a regular client user to SUPERADMIN, but the actual exploitation steps are not described in this part.

0xUnkn0wn Follow

Published on medium.com

💡 “Privilege escalation vulnerabilities are often hiding in plain sight. The trick?

0xUnkn0wn, 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 overly exposed API metadata and weak role-assignment logic allowed a client user to be linked to a SUPERADMIN role.

Impact

A regular client user could potentially be elevated to SUPERADMIN, gaining full control over the admin panel, though the text does not show the final exploit or confirm it worked end-to-end.

What the attacker needed

Authorised access to the target; a client-level account; ability to send raw API requests

How it was found

  1. Send an OPTIONS request to the admin API and read the HAL/ALPS metadata listing endpoints such as users, roles and permissionses.
  2. Fuzz the API with tools to discover endpoints like /roles, /permissionses, /userRoles and /adminUsers.
  3. Query /profile and /client to collect emails, usernames, client_ids and permission names.
  4. Read front-end JavaScript files to learn how registration and role-assignment requests are built.
  5. Use the discovered role-assignment logic to link a client user to the SUPERADMIN 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.

This is a story about a tester who was allowed to attack a finance company's admin system. They poked around the hidden parts of the website's programming interface (the API) and found clues about how user roles work. The writer says they managed to turn a normal user account into the highest-level administrator account, but the detailed steps are promised in a later post.

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.