How I Discovered a Massive Data Leak Exposing Millions of Users During Routine Recon
A publicly accessible endpoint exposed historical payment logs and personally identifiable information (PII) without authentication. By modifying a date parameter in the URL, an attacker could access records spanning multiple years, potentially affecting millions of users.
In this article, I’m sharing the details of a critical security vulnerability I discovered during security testing of an Indian company’s application. The issue led to a massive exposure of sensitive payment logs and personally identifiable information (PII), making customer data publicly accessible on the internet.
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 missing access control on a publicly accessible endpoint that served log files based on a predictable date-based URL pattern.
Impact
The exposure could lead to data breaches, financial fraud, and compliance violations, affecting potentially millions of users over almost a decade.
What the attacker needed
No authentication required; knowledge of URL pattern
The fix
The company should have enforced authentication and access control on the endpoint to prevent unauthorised access to sensitive logs.
How it was found
- Run an automated reconnaissance script that performs crawling and fuzzing on a target.
- Examine the output for unusual endpoints using grep and pattern matching.
- Open a discovered endpoint that follows a date-based URL pattern for payment logs.
- Change the date and year in the URL to retrieve logs from different periods.
- Find another similar endpoint that exposes more detailed transaction records.
- Change the year parameter to access records going back to 2010.
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 company stored payment logs in files that anyone could open if they knew the web address. The address included a date, so changing the date let anyone see logs from other days or years, revealing customers' personal and payment details.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.