Skip to content
Access control Write-up Beginner

how i found the broken access control vulnerability?

The profile email-change request accepted extra first-name and last-name fields that the normal interface never exposes, so a user could alter their own name despite the application offering no such feature. The author reports this as broken access control and the program accepted it, though it was marked a duplicate.

medium.com

Published on medium.com

today i will explain the “bypass restrictions to change first name and last name” vulnerability. it is under broken access control.

DOD cyber solutions, 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 the server accepted and processed extra fields in the profile update request without restricting which properties a user may change.

Impact

A user could change their own first and last name even though the application provided no feature for it; the text does not show any effect on other users or accounts.

What the attacker needed

A registered account; an intercepting proxy

How it was found

  1. Register a second account and capture the registration request in an intercepting proxy.
  2. Note the first-name and last-name fields sent at registration.
  3. Log in, open the profile section and start the email change option with the proxy intercepting.
  4. Add the first-name and last-name fields to the email change request body.
  5. Send the request and observe a successful response with the name updated.

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.

Some websites only show certain fields in the page, but the server behind it may still accept other fields if you add them to the request yourself. Here the site had no button to change your name, yet the request that changes your email also quietly accepted name fields. That means the server trusted whatever the browser sent rather than checking which fields were allowed.

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.