21 - ftp
Enumeration
Use netcat to banner grab FTP version
Use searchsploit to find exploits from exploit-db on FTP version
Exploitation examples
ProFTPD 1.3.5 mod_copy
ProFTPD 1.3.5 has a vulnerability within mod_copy module, which allows to use SITE CPFR
and SITE CPTO
commands commands via netcat to copy files. Within this example we will chain this exploit to copy Bobo's SSH keys to a misconfigured NFS share, then mount the share on our attack machine allowing access to the SSH keys.
Last updated