Skip to content
IDOR Write-up Intermediate

“Unearthing Digital Gold: A Practical Guide to Finding Bugs in

A client-side wallet access check was not enforced on the server, so an attacker could change the wallet ID in a request to read another user's financial details. The author found this by reading and deobfuscating a JavaScript file.

Aman Sharma Follow

Published on infosecwriteups.com

In the world of web application security, we often focus on firing off scanners at endpoints and fuzzing parameters. But some of the most critical vulnerabilities — the kind that lead to serious data breaches and system compromises — are hiding in plain sight, buried within the JavaScript files your browser happily…

Aman Sharma, on infosecwriteups.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 relied on a client-side access check and did not verify that the authenticated user owned the requested wallet ID.

Impact

An attacker could read another user's full financial details.

What the attacker needed

A valid account with a wallet; ability to intercept and modify requests

How it was found

  1. Download and beautify the wallet logic JavaScript file.
  2. Deobfuscate the code to understand the access check.
  3. Intercept a legitimate request to your own wallet.
  4. Change the wallet ID to another user's ID and resend the request.
  5. Observe that the server returns the other user's financial details.

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 website's JavaScript code can show how it talks to the server. If the server trusts the browser to check who owns a wallet, someone can just edit the request and ask for someone else's wallet. This is called an IDOR: the server uses an ID from the request without checking that the requester owns it.

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 Aman Sharma

View all

34 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.