Skip to content
Info disclosure Write-up Beginner

How I Found Sensitive Crypto Transaction Data in a Public JavaScr

A publicly accessible JavaScript file contained internal email addresses and cryptocurrency transaction history for real users. An attacker could scrape this data to identify users and carry out targeted phishing or doxing.

zixsec Follow

Published on medium.com

Saya adalah seorang bug hunter berusia 13 tahun, yang masih belajar secara otodidak dengan hanya bermodalkan PC pinjaman(Alhamdulillah nya sekarang sudah bisa beli PC sendiri hasil Bug Bounty). Dalam artikel ini, saya ingin membagikan pengalaman saya saat menemukan informasi sensitif berupa email internal dan history…

zixsec, 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 sensitive user data was hard-coded into a client-side JavaScript file instead of being kept on the server and fetched only when authorised.

Impact

The exposed data could be scraped and used for doxing or targeted phishing against real users of the platform.

What the attacker needed

None

The fix

The issue was fixed within 24 hours after the report; more generally, sensitive data should never be stored in client-side JavaScript and should be served from backend logic instead.

How it was found

  1. Gather active subdomains with subdomain enumeration tools.
  2. Filter to live hosts and collect publicly available JavaScript file URLs.
  3. Open the JavaScript files and search for patterns such as email, wallet and transaction identifiers.
  4. Find a file containing a user object with an email, wallet and transaction history.
  5. Cross-check that the email and transaction data belong to a real user on the platform.

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.

Websites send JavaScript files to your browser so pages can work, and anyone can download those files. Here, the developers put private user details, such as email addresses and crypto transaction records, inside one of those files. That means anyone who looked at the file could read other people's information.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by zixsec

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.