Skip to content
Access control Write-up Beginner

$1,100 Privilege Escalation: Group Leader Can Promote Anyone via Hidden Parameter

A Group Leader could add a hidden role parameter to a member-edit request, letting them promote or demote members despite the UI blocking this. This allowed unauthorised control over the group's role hierarchy.

a13h1 Follow

Published on medium.com

Hi Everyone! This one started as a simple permission check… but turned into a full role manipulation vulnerability inside a SaaS platform (let’s call it ExampleCenter).

Abhi Sharma, 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

The backend accepted a client-supplied role parameter on the member-edit endpoint without checking whether the caller had permission to change roles.

Impact

A Group Leader could promote arbitrary members to leadership or demote existing leaders, taking control of the group's structure without administrator approval.

What the attacker needed

A Group Leader account; access to the member-edit endpoint

The fix

The backend was fixed to block role changes from users without the required permission, confirmed during retesting.

How it was found

  1. Log in as a Group Leader and open the member-edit request used to change a join date.
  2. Add an extra role parameter to that same request.
  3. Send the request and observe a 200 OK response.
  4. Check that the target member's role has changed to Leader.

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.

A group leader is allowed to edit small details about members, like their join date. The website's buttons hide the option to change someone's role, but the server behind the website still accepted a role value if it was added to the request. So a leader could secretly promote themselves or others, even though the screen said they could not.

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 a13h1

View all

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