Skip to content
Access control Write-up Intermediate

How I Reported Over 50 security vulnerability in a Single Program

A low-privileged user could edit their profile to gain higher privileges via a vulnerable endpoint. The same action could also be performed on two other endpoints that fetched user data.

Abdalah Follow

Published on medium.com

This is my first write-up, and I hope you enjoy it and find some useful tips along the way. If you’re a new bug hunter like me XD, this one’s for you.

Abdalah, 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 missing or improper authorization checks on profile update endpoints, allowing privilege escalation.

Impact

A low-privileged user could escalate their privileges, potentially accessing more data or functionality than intended.

What the attacker needed

A low-privileged account

How it was found

  1. Log in as a low-privileged user.
  2. Send a PUT request to the profile endpoint to modify privileges.
  3. Observe that the user gains higher privileges.
  4. Test other endpoints that fetch user data with PUT requests and find they perform the same action.

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 user with limited permissions was able to change their own profile in a way that gave them more power than they should have. This is a broken access control issue, where the app fails to check if the user is allowed to make that change.

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 Abdalah

View all

1 more disclosed report, 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.