Skip to content
Leaked secrets Write-up Beginner

How I Was Able Get Get 6 Api Key And Leak 800k Custmore Info

A third-party CRM integration was found to fetch customer data without a password, and API keys were embedded directly in JavaScript on the company's website. Using the leaked keys and the CRM's public documentation, the author claims to have pulled large amounts of customer information from the CRM API.

Imran Niaz Follow

Published on systemweakness.com

They never imagined or thought that we would go to a certain place and hack their server. A week ago, our company colleagues told us that we needed to integrate with a third-party CRM.

Imran Niaz, on systemweakness.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 API keys for a third-party CRM were hard-coded in client-side JavaScript, and the CRM API accepted those keys without any additional authentication.

Impact

The author claims to have obtained six API keys and leaked data on 800,000 customers, though the text gives no verification and notes the API had a request limit that constrained the extraction.

What the attacker needed

Access to the public website; API keys exposed in JavaScript; CRM API accepts keys without login

How it was found

  1. Visit the target website regularly and watch what changes
  2. Search for subdomains using Shodan, then other online tools if that fails
  3. Use DNSDumpster if Shodan gives no data
  4. View page source and extract all links
  5. Download all JavaScript files and study the routes and requests

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 sometimes put secret passwords (API keys) inside the code that runs in your browser, where anyone can read them. If those keys unlock a service that holds customer records, a person who finds them can ask that service for the data directly, without logging in. This write-up describes someone doing exactly that against a CRM system.

What is Leaked secrets?

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.

More by Imran Niaz

View all

7 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Leaked secrets and credentials

The lesson behind this report.

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.