5 Ways I Found PII Disclosures in the Wild: Real Case Studies
Five separate endpoints exposed personally identifiable information without authentication, including employee reviews, a diplomatic contact list, a database dump, registry data with live access tokens, and university student records. An attacker could access this data by simply visiting the URLs, potentially leading to privacy breaches and further attacks using the leaked tokens.
Published on scriptjacker.medium.com
My name is Parth Narula, A penetration tester, bug hunter, red teamer and overall a security researcher. I live for those moments where a bit of out-of-the-box thinking cracks open a critical vulnerability.
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 authentication and authorization checks on API endpoints and direct access to sensitive files or scripts.
Impact
The exposed data could lead to privacy violations, GDPR fines, and further attacks using leaked tokens, though the text does not specify if any defence limited the exploits.
What the attacker needed
None for most cases; knowledge of endpoint patterns
The fix
Require authentication and proper authorization checks on all API endpoints, block direct access to sensitive files and scripts, and avoid embedding tokens in URLs.
How it was found
- Fuzz API paths with ffuf using a wordlist to discover hidden endpoints.
- Visit the discovered endpoint /api/v1/reviews which returns a JSON dump without authentication.
- Use tools like gau and waybackurls to collect archived URLs and filter for static file extensions.
- Manually check each static file for sensitive content, finding a PDF with a contact list.
- Fuzz for server-side scripts with extensions like .php using ffuf or dirsearch.
- Access the exposed script getAllInformations.php which returns a data dump without authentication.
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.
These are cases where websites accidentally left private information open for anyone to see. By guessing or finding the right web addresses, the researcher could view things like email addresses, phone numbers, and even secret tokens without needing to log in. This is dangerous because attackers can collect this data for scams or break into systems further.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.