FTP Version Vulnerability Check
The FTP banner identifies the server software and version. Matching that version against known CVEs determines whether public exploits apply. This goes beyond the two commonly known backdoors and covers the broader vulnerability landscape across vsftpd, ProFTPD, FileZilla Server, and IIS FTP.
Pull the Banner and Version
21/tcp open ftp ProFTPD 1.3.5
For more detail from the service itself:
220 ProFTPD 1.3.5 Server (Debian) [::ffff:10.10.10.5]
The banner typically includes the daemon name and version. Some administrators suppress or modify banners, in which case -sV fingerprinting from nmap is more reliable.
Match Version Against Known Vulnerabilities
Once you have the version string, check it against the following known vulnerable ranges.
vsftpd
2.3.4 — backdoor allowing command execution via a crafted username. Covered in vsftpd 2.3.4 Backdoor Detection.
2.0.x to 2.3.2 — denial of service via connection saturation in some builds. Not a code execution path.
3.0.0 to 3.0.2 — no critical RCE CVEs, but check for misconfigurations such as writable root and anonymous access.
ProFTPD
1.3.3c — backdoor embedded in a compromised source release. Covered in ProFTPD Backdoor Detection.
1.3.5 — SQL injection in the
mod_sqlmodule when SQL authentication is configured (CVE-2015-3306 allows arbitrary file read and write). This is a significant exploitation path covered separately.1.3.6 and earlier —
mod_copymodule enabled by default allows unauthenticated file copy between paths on the server using theSITE CPFRandSITE CPTOcommands.
Check whether mod_copy is active:
A 350 File or directory exists, ready for destination name response confirms mod_copy is active and the module is exploitable for file read. Exploitation is covered in ProFTPD mod_copy Exploitation.
FileZilla Server (Windows)
0.9.4 and earlier — clear text password storage in XML config file accessible to local users.
FileZilla Server 0.9.x — no authentication on the admin interface by default on older installs.
IIS FTP (Windows)
IIS 6.0 FTP — buffer overflow in the NLST command (CVE-2009-3555 variant for FTP, MS09-053). Extremely old and unlikely to appear.
IIS 7.0 to 7.5 — FTP service crashes on certain AUTH TLS sequences in some patch levels.
Nmap Vulnerability Scripts
Run all FTP-relevant NSE scripts at once:
This runs banner grabbing, anonymous access checking, backdoor detection for vsftpd and ProFTPD, and the brute-force check. Review each script's output independently.
Cross-Reference with searchsploit
Once you have the version string:
Filter to remote exploits only:
The version string format in searchsploit may differ slightly from banner output. Try partial version numbers if the full string returns no results.
References
-
banner NSE Scriptnmap.org/nsedoc/scripts/banner.html (opens in new tab)
Grabs the service banner from any TCP service including FTP
-
Exploit Databaseexploit-db.com (opens in new tab)
Searchable database of public exploits indexed by software and version
-
CVE Details: vsftpdwww.cvedetails.com/product/368/Vsftpd-Vsftpd.html (opens in new tab)
Full CVE history for vsftpd across all versions
-
CVE Details: ProFTPDwww.cvedetails.com/product/762/Proftpd-Proftpd.html (opens in new tab)
Full CVE history for ProFTPD across all versions
Was this helpful?
Your feedback helps improve this page.