Skip to content
IDOR Write-up Intermediate

$6,800 for Sending Fields Nobody Asked Me To Send: A Mass Assignm

The user profile update endpoint bound the entire incoming JSON body onto the user model without an allowlist, so an ordinary member could send an undocumented workspaceRole field and become workspace owner. The field name was discovered by decompiling the Android client, which referenced it even though the web app never sent it.

T4nv1 Follow

Published on medium.com

This is the bug I’m most tempted to describe as “free,” because building the payload took about four minutes once I understood the shape of the problem. Everything before that — figuring out which field name to even guess — was the actual work, and it came from somewhere most people testing an API never bother to…

T4nv1, 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 endpoint used whole-object binding, mapping every incoming JSON field onto the user model without an explicit allowlist of fields the caller is permitted to set.

Impact

Any authenticated user who is already a member of a workspace could escalate themselves to workspace owner, gaining full administrative control including billing access and the ability to delete the workspace.

What the attacker needed

An authenticated account; membership in the target workspace; ability to decompile the Android app

The fix

The team removed the dangerous fields from the profile endpoint's accepted schema and moved role changes to a dedicated endpoint with its own authorization check, then audited the rest of the API for the same binding pattern.

How it was found

  1. Decompile the Android APK and search the network layer for the profile-update endpoint.
  2. Notice the Android request model includes a workspaceRole field the web app never sends.
  3. Send a PATCH to the profile endpoint with the normal fields plus workspaceRole set to owner.
  4. Observe a 200 OK response echoing the new role.
  5. Reload the workspace dashboard in another tab and confirm owner-level controls appear.

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 a website saves your profile, it takes the data you send and stores it. If it stores every field you send without checking which ones you are allowed to change, you can sneak in extra fields. Here, a hidden field that controls your role in a workspace could be set by anyone, letting a normal member make themselves the owner.

What is IDOR?

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.

More by T4nv1

View all

113 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.