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.
Published on medium.com
Hey there, security enthusiasts! Welcome back to another exciting exploration of real-world vulnerabilities.
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
- Observe the victim's account, which had a zero fund balance.
- Create an attacker account and perform a fund deposit while capturing the request.
- Modify the login_id parameter from the attacker's ID to the victim's ID.
- 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.