Exposed FTP Credentials on ███████
An anonymously accessible FTP server hosted a configuration file containing valid FTP credentials. An attacker could use these credentials to gain read access to any file on the FTP server.
- Triaged in 14 hours
- Fixed in 3 months
- Disclosed after 2.5 years
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
- Navigate to
ftp://████/pub/misc/FTP_██████Sign.exe.config(establishes an anonymous FTP session on modern browsers) - Verify credentials are in the
userSettingsXML section - 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.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, the FTP server allowed anonymous access and a configuration file with plaintext credentials was stored in a publicly accessible directory.
Impact
Read access to any file on the FTP server.
What the attacker needed
Anonymous FTP access enabled; configuration file publicly accessible
How it was found
- Navigate to the configuration file via anonymous FTP.
- Verify credentials are in the userSettings XML section.
- Establish an FTP connection using the credentials.
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 report has not been written yet. The Original tab links to the source.
A configuration file on a public FTP server contained a username and password for that same server. Anyone who found the file could log in and read files they should not be able to see.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.