FTP:
Vulnerability Discovery
FTP vulns: anonymous access, cleartext creds, writable dirs, CVEs, backdoor
FTP Anonymous Access Check
Detect misconfigured FTP servers allowing unauthenticated anonymous logins, exposing sensitive files or enabling unauthorised data upload/download.
FTP Bounce Attack Check
Exploits misconfigured FTP servers using PORT command to proxy scans or connections through a third-party host, bypassing firewall restrictions.
FTP Cleartext Credential Transmission
Identifies FTP services transmitting credentials in cleartext, demonstrating sniffable authentication and the risks of unencrypted legacy file transfer protocols.
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.
FTP Writable Directory Check
Identifies writable FTP directories by testing anonymous or authenticated access, enabling upload of malicious files or further exploitation of misconfigured servers.
ProFTPD 1.3.3c Backdoor Detection
Detect and exploit the ProFTPD 1.3.3c supply-chain backdoor (CVE-2010-4221) introduced via compromised source, enabling unauthenticated remote root access.
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)CVE: 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)CVE: 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-backdoorTOOL: Nmap NSE Script: ftp-vsftpd-backdoor, nmap.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-backdoorTOOL: Nmap NSE Script: ftp-proftpd-backdoor, nmap.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).