Skip to content
Access control Write-up Beginner

Easy Premium Account Access and Admin role escalation via Object manipulation in the server response

The server trusted client-supplied role and plan fields in the profile update response, allowing the attacker to change their role to admin and plan to premium. This gave unauthorised access to premium features and admin-level capabilities within their organisation.

Anurag__Verma Follow

Published on infosecwriteups.com

Hope you all are doing well, Here comes my 5th article showing how I was able toupgrade my account to premium and escalate my role to admin.

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

Impact

An attacker could upgrade their account to premium and gain admin-level privileges within their organisation, enabling more features and collaboration with other employees.

What the attacker needed

A free account

How it was found

  1. Register and log in to a normal account.
  2. Capture the profile update request and inspect the response.
  3. Modify the role field to admin and the plan fields to premium values.
  4. Submit the modified response and observe elevated access.

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.

When you update your profile, the server sends back details about your account, including your role and subscription plan. The server mistakenly accepted changes to these details made by the user, so the attacker could simply edit the response to make themselves an admin and get a premium plan for free.

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 Anurag__Verma

View all

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