This module exploits a simple stack buffer overflow in FreeFTPd 1.0.10 This flaw is due to a buffer overflow error when handling a specially crafted key exchange algorithm string received from an SSH client. This module is based on MC's freesshd_key_exchange exploit.
Windows
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/windows/ssh/freeftpd_key_exchange
msf exploit(freeftpd_key_exchange) > show targets
...targets...
msf exploit(freeftpd_key_exchange) > set TARGET < target-id >
msf exploit(freeftpd_key_exchange) > show options
...show and set options...
msf exploit(freeftpd_key_exchange) > exploit
Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.
– Jim O’Gorman | President, Offensive Security