Skip to content
IDOR Write-up Beginner

US Trading Account Fund Exploit: An IDOR Vulnerability Walkthroug

The trading platform's fund deposit request used a user-controlled identifier, so an attacker could change it to another user's ID and credit that victim's account with an arbitrary deposit. This allowed manipulation of any user's fund balance.

Planet Strike Follow

Published on medium.com

Hey there, security enthusiasts! Welcome back to another exciting exploration of real-world vulnerabilities.

Planet Strike, 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

Impact

An attacker could update any user's trading account fund balance, potentially creating unauthorised funds.

What the attacker needed

An attacker account; ability to capture and modify requests; knowledge of victim's user ID

How it was found

  1. Observe the victim's account, which had a zero fund balance.
  2. Create an attacker account and perform a fund deposit while capturing the request.
  3. Modify the login_id parameter from the attacker's ID to the victim's ID.
  4. Resend the modified request and confirm the victim's balance was 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.

An IDOR (Insecure Direct Object Reference) happens when a website lets you change an identifier in a request to access or change someone else's data. Here, the deposit request included a user ID that the server trusted without checking it belonged to the logged-in user, so changing it let the attacker add money to another person's trading account.

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.

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.