U.S. Dept Of Defense · Report #761790
Leaked DB credentials on https://██████████.mil/███
How it was found
Summary: Information disclosure with login credentials for ms-sql database exposed.
Description: I've found a PHP info file disclosed on https://█████.mil/██████ containing login credentials for a database cloud server (███████) as well as information on the host system such as hostname, username and full paths. The database server is up, but I have not tried connecting to it with the credentials, as I feel that would be going too far.
Impact
Possible access to database as well as disclosure of sensitive host information.
Step-by-step Reproduction Instructions
- Go to https://██████████.mil/████████
- Search for 'password', you should see this:
Data Source=tcp:███,█████████;Initial Catalog=██████████;User Id=████@██████████;Password=███████ - Run
nc -vvv █████████ █████to confirm database is running and service ms-sql-s is accepting connections:(UNKNOWN) [███████] ████████ (ms-sql-s) open ^C sent 0, rcvd 0
Product, Version, and Configuration (If applicable)
Suggested Mitigation/Remediation Actions
███████ should not be available on the server.
Impact
Possible access to database as well as disclosure of sensitive host information.