Lucene search

K
openvasCopyright (c) 2011 Greenbone Networks GmbHOPENVAS:802502
HistoryNov 08, 2011 - 12:00 a.m.

Wireshark Heap Based BOF and Denial of Service Vulnerabilities (Windows)

2011-11-0800:00:00
Copyright (c) 2011 Greenbone Networks GmbH
plugins.openvas.org
14

0.005 Low

EPSS

Percentile

73.6%

The host is installed with Wireshark and is prone to heap based
buffer overflow and denial of service vulnerabilities.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_wireshark_bof_n_dos_vuln_win.nasl 7052 2017-09-04 11:50:51Z teissa $
#
# Wireshark Heap Based BOF and Denial of Service Vulnerabilities (Windows)
#
# Authors:
# Madhuri D <[email protected]>
#
# Copyright:
# Copyright (c) 2011 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

tag_impact = "Successful exploitation could allow attackers to cause a denial of service via
  via a malformed packet.
  Impact Level: Application";
tag_affected = "Wireshark version 1.4.0 through 1.4.9 and 1.6.x before 1.6.3";
tag_insight = "The flaws are due to
  - An error while parsing ERF file format. This could cause wireshark to crash
    by reading a malformed packet trace file.
  - An error in dissect_infiniband_common function in
    epan/dissectors/packet-infiniband.c in the Infiniband dissector, could
    dereference a NULL pointer.";
tag_solution = "Upgrade to the Wireshark version 1.6.3 or later,
  For updates refer to http://www.wireshark.org/download.html";
tag_summary = "The host is installed with Wireshark and is prone to heap based
  buffer overflow and denial of service vulnerabilities.";

if(description)
{
  script_id(802502);
  script_version("$Revision: 7052 $");
  script_tag(name:"last_modification", value:"$Date: 2017-09-04 13:50:51 +0200 (Mon, 04 Sep 2017) $");
  script_tag(name:"creation_date", value:"2011-11-08 11:40:17 +0200 (Tue, 08 Nov 2011)");
  script_cve_id("CVE-2011-4102", "CVE-2011-4101");
  script_bugtraq_id(50486, 50481);
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:N/A:P");
  script_name("Wireshark Heap Based BOF and Denial of Service Vulnerabilities (Windows)");


  script_copyright("Copyright (c) 2011 Greenbone Networks GmbH");
  script_category(ACT_GATHER_INFO);
  script_family("General");
  script_dependencies("gb_wireshark_detect_win.nasl");
  script_require_keys("Wireshark/Win/Ver");
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  script_tag(name:"qod_type", value:"registry");
  script_tag(name:"solution_type", value:"VendorFix");
  script_xref(name : "URL" , value : "https://bugzilla.redhat.com/show_bug.cgi?id=750645");
  script_xref(name : "URL" , value : "http://openwall.com/lists/oss-security/2011/11/01/9");
  script_xref(name : "URL" , value : "https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6476");
  script_xref(name : "URL" , value : "http://anonsvn.wireshark.org/viewvc?view=revision&revision=39508");
  script_xref(name : "URL" , value : "http://anonsvn.wireshark.org/viewvc?view=revision&revision=39500");
  exit(0);
}


include("version_func.inc");

## Get the version from KB
wiresharkVer = get_kb_item("Wireshark/Win/Ver");
if(!wiresharkVer){
  exit(0);
}

## Check for Wireshark Version
if(version_in_range(version:wiresharkVer, test_version:"1.4.0", test_version2:"1.4.9")||
   version_in_range(version:wiresharkVer, test_version:"1.6.0", test_version2:"1.6.2")){
  security_message(0);
}