Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 3262] New: Fuzzed packet causes crash in generated portion

Date: Mon, 16 Feb 2009 16:26:04 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3262

           Summary: Fuzzed packet causes crash in generated portion of LDAP
                    dissector
           Product: Wireshark
           Version: SVN
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Medium
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: rocket@xxxxxxxxxxxxxx


Created an attachment (id=2751)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=2751)
Single packet causing crash in LDAP dissector

Build Information:
wireshark 1.1.3-cadams-mgsft-ldss-1 (SVN Rev 27462)

Copyright 1998-2009 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.14.7, with GLib 2.18.4, with WinPcap (version unknown),
with libz 1.2.3, without POSIX capabilities, with libpcre 7.0, with SMI 0.4.8,
with c-ares 1.6.0, with Lua 5.1, with GnuTLS 2.6.4, with Gcrypt 1.4.4, with MIT
Kerberos, with GeoIP, with PortAudio V19-devel (built Feb 16 2009), with
AirPcap.

Running on Windows XP Service Pack 3, build 2600, with WinPcap version 4.0.1
(packet.dll version 4.0.0.901), based on libpcap version 0.9.5, GnuTLS 2.6.4,
Gcrypt 1.4.4, without AirPcap.

Built using Microsoft Visual C++ 9.0 build 21022
--
Hi,

I was fuzz-testing Wireshark (using fuzz-test.sh) with a dissector I've been
working on, and one of the passes crashed in the generated portion of the LDAP
dissector.

I've extracted the problematic packet into a .pcap file which is attached.

I was able to reproduce the crash in version 1.0.5 as well as my SVN build -
both versions crash every time the capture is loaded. Both tshark and wireshark
exhibit the behaviour.

Please tell me if any other info is required.

Regards
Chris

NB. The bug is marked private because it divulges some details about
ManageSoft's AD setup.


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.