HexBrain

U.S. Dept Of Defense · Report #235216

Exposed FTP Credentials on ███████

Validstatus
mediumseverity
3upvotes
2 Dec 2019disclosed

How it was found

Summary: An exposed configuration file leaks FTP credentials to a DoD server. Description: The config file hosted onftp://█████████/pub/misc/FTP_███████Sign.exe.config exposes a username █████████ and associated password ███████. These are valid credentials for the FTP server operating on ██████████:21. This was verified by establishing a connection to the server with the credentials - no file data was transferred.

Impact

Read access to any file on the ████ FTP server.

Step-by-step Reproduction Instructions

  1. Navigate to ftp://████/pub/misc/FTP_██████Sign.exe.config (establishes an anonymous FTP session on modern browsers)
  2. Verify credentials are in the userSettings XML section
  3. Establish an FTP connection to ████████ using the credentials

Suggested Mitigation/Remediation Actions

Anonymous FTP access should be disabled on ██████████ and the credentials exposed in the configuration file should be changed.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original