CVSS2
Attack Vector
ADJACENT_NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:A/AC:L/Au:N/C:P/I:P/A:P
AI Score
Confidence
Low
EPSS
Percentile
71.6%
The remote host is missing an update to the system
as announced in the referenced advisory.
# SPDX-FileCopyrightText: 2012 E-Soft Inc.
# 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.72500");
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_cve_id("CVE-2012-5237", "CVE-2012-5238", "CVE-2012-5240");
script_version("2023-07-26T05:05:09+0000");
script_tag(name:"last_modification", value:"2023-07-26 05:05:09 +0000 (Wed, 26 Jul 2023)");
script_tag(name:"creation_date", value:"2012-10-22 08:43:21 -0400 (Mon, 22 Oct 2012)");
script_name("FreeBSD Ports: wireshark");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2012 E-Soft Inc.");
script_family("FreeBSD Local Security Checks");
script_dependencies("gather-package-list.nasl");
script_mandatory_keys("ssh/login/freebsd", "ssh/login/freebsdrel");
script_tag(name:"insight", value:"The following packages are affected:
wireshark
wireshark-lite
tshark
tshark-lite
CVE-2012-5237
The dissect_hsrp function in epan/dissectors/packet-hsrp.c in the HSRP
dissector in Wireshark 1.8.x before 1.8.3 allows remote attackers to
cause a denial of service (infinite loop) via a malformed packet.
CVE-2012-5238
epan/dissectors/packet-ppp.c in the PPP dissector in Wireshark 1.8.x
before 1.8.3 uses incorrect OUI data structures during the decoding of
(1) PPP and (2) LCP data, which allows remote attackers to cause a
denial of service (assertion failure and application exit) via a
malformed packet.
CVE-2012-5240
Buffer overflow in the dissect_tlv function in
epan/dissectors/packet-ldp.c in the LDP dissector in Wireshark 1.8.x
before 1.8.3 allows remote attackers to cause a denial of service
(application crash) or possibly have unspecified other impact via a
malformed packet.");
script_tag(name:"solution", value:"Update your system with the appropriate patches or
software upgrades.");
script_xref(name:"URL", value:"http://www.wireshark.org/security/wnpa-sec-2012-26.html");
script_xref(name:"URL", value:"http://www.wireshark.org/security/wnpa-sec-2012-27.html");
script_xref(name:"URL", value:"http://www.wireshark.org/security/wnpa-sec-2012-28.html");
script_xref(name:"URL", value:"http://www.wireshark.org/security/wnpa-sec-2012-29.html");
script_xref(name:"URL", value:"http://www.wireshark.org/docs/relnotes/wireshark-1.8.3.html");
script_xref(name:"URL", value:"http://www.vuxml.org/freebsd/a7706414-1be7-11e2-9aad-902b343deec9.html");
script_tag(name:"summary", value:"The remote host is missing an update to the system
as announced in the referenced advisory.");
script_tag(name:"qod_type", value:"package");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("revisions-lib.inc");
include("pkg-lib-bsd.inc");
vuln = FALSE;
txt = "";
bver = portver(pkg:"wireshark");
if(!isnull(bver) && revcomp(a:bver, b:"1.8.2_1")<=0) {
txt += "Package wireshark version " + bver + " is installed which is known to be vulnerable.\n";
vuln = TRUE;
}
bver = portver(pkg:"wireshark-lite");
if(!isnull(bver) && revcomp(a:bver, b:"1.8.2_1")<=0) {
txt += "Package wireshark-lite version " + bver + " is installed which is known to be vulnerable.\n";
vuln = TRUE;
}
bver = portver(pkg:"tshark");
if(!isnull(bver) && revcomp(a:bver, b:"1.8.2_1")<=0) {
txt += "Package tshark version " + bver + " is installed which is known to be vulnerable.\n";
vuln = TRUE;
}
bver = portver(pkg:"tshark-lite");
if(!isnull(bver) && revcomp(a:bver, b:"1.8.2_1")<=0) {
txt += "Package tshark-lite version " + bver + " is installed which is known to be vulnerable.\n";
vuln = TRUE;
}
if(vuln) {
security_message(data:txt);
} else if (__pkg_match) {
exit(99);
}
www.vuxml.org/freebsd/a7706414-1be7-11e2-9aad-902b343deec9.html
www.wireshark.org/docs/relnotes/wireshark-1.8.3.html
www.wireshark.org/security/wnpa-sec-2012-26.html
www.wireshark.org/security/wnpa-sec-2012-27.html
www.wireshark.org/security/wnpa-sec-2012-28.html
www.wireshark.org/security/wnpa-sec-2012-29.html