“The Day I Found an Unsecured FTP — A Responsible Disclos
An FTP service on a publicly reachable host allowed some directory listings and informational commands without valid credentials. An attacker could observe file and directory names that should have required authentication.
Published on medium.com
On that day I decided to dig into a specific domain after brushing up on ports, enum, and exploitation. I kicked off recon with subdomain discovery using assetfinder, and one result pointed at a domain I logged as target.example [REDACTED: original domain].
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 the FTP server was misconfigured to allow anonymous or unauthenticated listing of some directories.
Impact
An unauthenticated attacker could see some directory listings, potentially learning file and folder names, though the author stopped at observation and did not demonstrate access to file contents.
What the attacker needed
Network access to the FTP service; no credentials needed for listing
The fix
The FTP server should be configured to require authentication before revealing any directory listings or allowing informational commands.
How it was found
- Discover subdomains with assetfinder and pick a target.
- Resolve the target hostname to an IP address.
- Scan the host to find open services including FTP.
- Connect to the FTP service and observe that some directory listings are visible without valid 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 write-up has not been written yet. The Original tab links to the source.
FTP is an old file-transfer service. Normally you must log in before you can see or download files. Here the server showed some folder contents to anyone who connected, even without a password, which leaks information about what is stored there.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.