FTP:
Vulnerability Discovery
FTP vulns: anonymous access, cleartext creds, writable dirs, CVEs, backdoor
FTP Version Vulnerability Check
Identifies FTP server versions with known CVEs by banner grabbing and cross-referencing against vulnerability databases to detect unpatched or outdated daemons.
ProFTPD — backdoor detection (1.3.3c)
What this does:
Tests for the presence of the ProFTPD 1.3.3c backdoor (BID 45150).
The NSE script checks whether the service responds in a way consistent with the known backdoored version. By default, it uses a non-destructive id command purely to confirm the backdoor’s presence.
Record:
Detected ProFTPD version/banner
Whether the backdoor check returned a positive result
Script output (confirmed vs not detected)
In order to exploit this backdoor you can follow this page: ProFTPD 1.3.3c Backdoor
vsftpd — backdoor detection (2.3.4)
What this does:
Tests for the vsftpd 2.3.4 backdoor disclosed in July 2011 (CVE-2011-2523).
The script verifies whether the FTP service behaves like the backdoored version, again using a harmless id command by default to validate exposure.
Record:
Detected vsftpd version/banner
Whether the backdoor was identified
Any anomalous responses indicating compromise
In order to exploit this backdoor you can follow this page: vsftpd 2.3.4 Backdoor
Notes
These are the only FTP backdoor/vulnerability detection scripts provided by Nmap for ProFTPD and vsftpd.
Results should be treated as confirmation checks, not broad vulnerability coverage.
Use
-Pnif the target blocks ICMP probes.Save output for documentation and reporting
References
-
CVE-2010-20103 (ProFTPD Backdoor)nvd.nist.gov/vuln/detail/CVE-2010-20103 (opens in new tab)
NVD entry for the malicious backdoor embedded in ProFTPD 1.3.3c (hidden command execution with root privileges).
-
CVE-2011-2523 (vsftpd Backdoor)nvd.nist.gov/vuln/detail/CVE-2011-2523 (opens in new tab)
NVD entry for the backdoor in vsftpd 2.3.4 that opens a shell on a crafted connection.
-
Nmap NSE Script: ftp-vsftpd-backdoornmap.org/nsedoc/scripts/ftp-vsftpd-backdoor.html (opens in new tab)
Documentation for the Nmap script that detects the vsftpd 2.3.4 backdoor condition.
-
Nmap NSE Script: ftp-proftpd-backdoornmap.org/nsedoc/scripts/ftp-proftpd-backdoor.html (opens in new tab)
Documentation for the Nmap script that checks for the ProFTPD 1.3.3c backdoor (CVE-2010-20103).