From Dorking to Critical: Exposing Company Database Credentials a
A public GitHub repository belonging to the company exposed source code, database dumps and admin login files that anyone could find through GitHub code search. An attacker could read administrator credentials, user personal data and database configuration, and potentially escalate to account takeover or server compromise.
Published on medium.com
Di write up ini tidak ada coding tidak ada bypass, hanya mengandalkan google dorking untuk mencari file-file penting di github yang terbuka aksesnya ke publik.
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 sensitive files such as database dumps, configuration and admin credentials were committed to a publicly accessible GitHub repository.
Impact
Exposed admin credentials, user personal data and database configuration could allow account takeover or server compromise.
What the attacker needed
Public GitHub repository; no account needed to view code
The fix
The exposure was fixed, presumably by removing the sensitive files from the public repository.
How it was found
- Search GitHub code for error keywords combined with the target domain.
- Open a matching code result containing an error keyword.
- Use the file search to look for database and admin login files.
- Find admin personal data and passwords inside the database dump.
- Download the full source code.
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.
Developers sometimes upload their project files, including database backups and password files, to a public code hosting site like GitHub. If those files are not meant to be public, anyone can find them by searching the site for error messages or file names. Here the author used simple search queries, called dorking, to locate such files and download them.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.