Exploit database

Vulnerability

CVE-2010-0304

Vulnerability details

Score
7.5
Severity
high

CVSS 2.0 · NVD

Vector string

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

Description

Multiple buffer overflows in the LWRES dissector in Wireshark 0.9.15 through 1.0.10 and 1.2.0 through 1.2.5 allow remote attackers to cause a denial of service (crash) via a malformed packet, as demonstrated using a stack-based buffer overflow to the dissect_getaddrsbyname_request function.

CVE Program

Exploit source choices

5 sources
Wireshark LWRES Dissector getaddrsbyname_request Buffer Overflow
MSF-multi--misc--wireshark_lwres_getaddrbynameMetasploitLinux,OSX,Windows / remote

The LWRES dissector in Wireshark version 0.9.15 through 1.0.10 and 1.2.0 through 1.2.5 allows remote attackers to execute arbitrary code due to a stack-based buffer overflow. This bug found and reported by babi. This particular exploit targets the dissect_getaddrsbyname_request function. Several other functions also contain potentially exploitable stack-based buffer overflows. The Windows version (of 1.2.5 at least) is compiled with /GS, which prevents exploitation via the return address on the stack. Sending a larger string allows exploitation using the SEH bypass method. However, this packet will usually get fragmented, which may cause additional complications. NOTE: The vulnerable code is reached only when the packet dissection is rendered. If the packet is fragmented, all fragments must be captured and reassembled to exploit this issue.

2010-01-27wireshark_lwres_getaddrbyname.rb
Wireshark LWRES Dissector getaddrsbyname_request Buffer Overflow (loop)
MSF-multi--misc--wireshark_lwres_getaddrbyname_loopMetasploitLinux,OSX,Windows / remote

The LWRES dissector in Wireshark version 0.9.15 through 1.0.10 and 1.2.0 through 1.2.5 allows remote attackers to execute arbitrary code due to a stack-based buffer overflow. This bug found and reported by babi. This particular exploit targets the dissect_getaddrsbyname_request function. Several other functions also contain potentially exploitable stack-based buffer overflows. The Windows version (of 1.2.5 at least) is compiled with /GS, which prevents exploitation via the return address on the stack. Sending a larger string allows exploitation using the SEH bypass method. However, this packet will usually get fragmented, which may cause additional complications. NOTE: The vulnerable code is reached only when the packet dissection is rendered. If the packet is fragmented, all fragments must be captured and reassembled to exploit this issue. This version loops, sending the packet every X seconds until the job is killed.

2010-01-27wireshark_lwres_getaddrbyname_loop.rb