How I Accidentally Stumbled Into a 225,000-Record Data Leak (And
An unauthenticated API endpoint exposed over 225,000 company records including internal staff UUIDs, HubSpot CRM links, VIP flags, and sales territory data. An attacker could enumerate the entire database and use the exposed information for phishing, competitive intelligence, and targeted attacks.
Published on infosecwriteups.com
I didn’t plan to pop open a company’s entire internal database on a random Friday afternoon. I was just bored, curious, and had Burp Suite open.
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
The API endpoint lacked authentication and field-level authorization, returning sensitive internal data to unauthenticated callers.
Impact
An unauthenticated attacker could download all 225,000+ records, enabling staff enumeration for phishing, exposure of active CRM deals for competitive intelligence, and identification of VIP customers for targeted attacks.
What the attacker needed
None
The fix
The endpoint should require authentication and implement field-level authorization to strip internal fields from unauthenticated responses, and monitor for bulk pagination patterns.
How it was found
- Browse the employer portal normally with a proxy to capture API requests.
- Identify the /api/companies endpoint in the proxy history.
- Send the request to Repeater and remove the Authorization header.
- Observe a 200 OK response containing 225,053 records with internal fields.
- Test pagination by changing the offset parameter to 220,000 to confirm full enumeration.
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 API endpoint that was supposed to be used by logged-in employers was left open to anyone on the internet. By simply removing the login token from a request, the author could download the entire company database, which included private details like employee IDs and links to the company's internal sales system. This is like leaving the back door of a building unlocked and then removing the 'employees only' sign.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.