Wireshark is prone to multiple vulnerabilities.
# SPDX-FileCopyrightText: 2012 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.802764");
script_version("2024-02-15T05:05:40+0000");
script_cve_id("CVE-2012-0068", "CVE-2012-0067", "CVE-2012-0066", "CVE-2012-0043",
"CVE-2012-0042", "CVE-2012-0041");
script_tag(name:"cvss_base", value:"5.8");
script_tag(name:"cvss_base_vector", value:"AV:A/AC:L/Au:N/C:P/I:P/A:P");
script_tag(name:"last_modification", value:"2024-02-15 05:05:40 +0000 (Thu, 15 Feb 2024)");
script_tag(name:"creation_date", value:"2012-04-24 15:23:18 +0530 (Tue, 24 Apr 2012)");
script_name("Wireshark Multiple Vulnerabilities - Mac OS X");
script_xref(name:"URL", value:"http://secunia.com/advisories/47494/");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/51368");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/51710");
script_xref(name:"URL", value:"http://www.wireshark.org/security/wnpa-sec-2012-01.html");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2012 Greenbone AG");
script_family("General");
script_dependencies("gb_wireshark_detect_macosx.nasl");
script_mandatory_keys("Wireshark/MacOSX/Version");
script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to execute arbitrary code
or cause a denial of service.");
script_tag(name:"affected", value:"Wireshark versions 1.4.x before 1.4.11 and 1.6.x before 1.6.5 on Mac OS X");
script_tag(name:"insight", value:"The flaws are due to
- NULL pointer dereference errors when reading certain packet information
can be exploited to cause a crash.
- An error within the RLC dissector can be exploited to cause a buffer
overflow via a specially crafted RLC packet capture file.
- An error within the 'lanalyzer_read()' function (wiretap/lanalyzer.c) when
parsing LANalyzer files can be exploited to cause a heap-based buffer
underflow.");
script_tag(name:"solution", value:"Upgrade to the Wireshark version 1.4.11, 1.6.5 or later.");
script_tag(name:"summary", value:"Wireshark is prone to multiple vulnerabilities.");
script_tag(name:"qod_type", value:"package");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("version_func.inc");
sharkVer = get_kb_item("Wireshark/MacOSX/Version");
if(!sharkVer){
exit(0);
}
if(version_in_range(version:sharkVer, test_version:"1.4.0", test_version2:"1.4.10") ||
version_in_range(version:sharkVer, test_version:"1.6.0", test_version2:"1.6.4")) {
security_message( port: 0, data: "The target host was found to be vulnerable" );
}