How a simple UI translation endpoint led to 300,000+ exposed customer records
An unauthenticated translation dictionary endpoint used a sequential group identifier that could be enumerated, and some identifiers returned 200 while others returned 403. A bypassed identifier leaked a hardcoded cloud storage URL, and that bucket allowed listing and read access, exposing over 300,000 customer PII and invoice records.
Published on medium.com
Imagine hunting for security vulnerabilities, querying an endpoint that appears completely public and harmless, and suddenly stumbling upon an artifact that opens the floodgates to hundreds of thousands of sensitive customer records.
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 translation endpoint relied on a predictable numeric group identifier with inconsistent access checks, and a reachable group contained a hardcoded cloud storage URL pointing to a bucket with public listing and read permissions.
Impact
An unauthenticated attacker could access approximately 300,000 customer invoice records spanning nearly a decade, including names, contact information and PII, and other bypassed identifiers leaked internal OAuth models, Azure AD metadata and email templates useful for phishing.
What the attacker needed
No authentication; network access to the API
How it was found
- Send a request to the translation endpoint with a group identifier of 1 and observe a successful response.
- Increment the group identifier and observe that some values return 403 while others return 200.
- Request a group identifier that returns 200 and inspect the JSON response for backend configuration details.
- Extract the hardcoded cloud storage URL from the response.
- Navigate directly to the leaked cloud storage bucket and list its contents.
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 translation endpoint is meant to return text labels for the user interface, so it looks harmless. The problem was that the endpoint accepted a number that selected which set of labels to return, and by changing that number an attacker could reach sets that should have been blocked. One of those sets contained a link to a cloud storage folder that was open to anyone, and that folder held customer records.
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.