The remote host is missing an update to the system
as announced in the referenced advisory.
# SPDX-FileCopyrightText: 2010 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.68512");
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:"2010-11-17 03:33:48 +0100 (Wed, 17 Nov 2010)");
script_tag(name:"cvss_base", value:"9.3");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:C/I:C/A:C");
script_cve_id("CVE-2010-3170", "CVE-2010-3173", "CVE-2010-3174", "CVE-2010-3175", "CVE-2010-3176", "CVE-2010-3177", "CVE-2010-3178", "CVE-2010-3179", "CVE-2010-3180", "CVE-2010-3181", "CVE-2010-3182", "CVE-2010-3183");
script_name("FreeBSD Ports: firefox");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2010 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:
firefox
libxul
linux-firefox
linux-firefox-devel
seamonkey
thunderbird
For details on the issues addressed, please visit the referenced
security advisories.");
script_tag(name:"solution", value:"Update your system with the appropriate patches or
software upgrades.");
script_xref(name:"URL", value:"http://www.mozilla.org/security/announce/2010/mfsa2010-64.html");
script_xref(name:"URL", value:"http://www.mozilla.org/security/announce/2010/mfsa2010-65.html");
script_xref(name:"URL", value:"http://www.mozilla.org/security/announce/2010/mfsa2010-66.html");
script_xref(name:"URL", value:"http://www.mozilla.org/security/announce/2010/mfsa2010-67.html");
script_xref(name:"URL", value:"http://www.mozilla.org/security/announce/2010/mfsa2010-68.html");
script_xref(name:"URL", value:"http://www.mozilla.org/security/announce/2010/mfsa2010-69.html");
script_xref(name:"URL", value:"http://www.mozilla.org/security/announce/2010/mfsa2010-70.html");
script_xref(name:"URL", value:"http://www.mozilla.org/security/announce/2010/mfsa2010-71.html");
script_xref(name:"URL", value:"http://www.mozilla.org/security/announce/2010/mfsa2010-72.html");
script_xref(name:"URL", value:"http://www.vuxml.org/freebsd/c4f067b9-dc4a-11df-8e32-000f20797ede.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:"firefox");
if(!isnull(bver) && revcomp(a:bver, b:"3.6.*,1")>0 && revcomp(a:bver, b:"3.6.11,1")<0) {
txt += 'Package firefox version ' + bver + ' is installed which is known to be vulnerable.\n';
vuln = TRUE;
}
if(!isnull(bver) && revcomp(a:bver, b:"3.5.*,1")>0 && revcomp(a:bver, b:"3.5.14,1")<0) {
txt += 'Package firefox version ' + bver + ' is installed which is known to be vulnerable.\n';
vuln = TRUE;
}
bver = portver(pkg:"libxul");
if(!isnull(bver) && revcomp(a:bver, b:"1.9.2")>0 && revcomp(a:bver, b:"1.9.2.11")<0) {
txt += 'Package libxul version ' + bver + ' is installed which is known to be vulnerable.\n';
vuln = TRUE;
}
bver = portver(pkg:"linux-firefox");
if(!isnull(bver) && revcomp(a:bver, b:"3.6.11,1")<0) {
txt += 'Package linux-firefox version ' + bver + ' is installed which is known to be vulnerable.\n';
vuln = TRUE;
}
bver = portver(pkg:"linux-firefox-devel");
if(!isnull(bver) && revcomp(a:bver, b:"3.5.14")<0) {
txt += 'Package linux-firefox-devel version ' + bver + ' is installed which is known to be vulnerable.\n';
vuln = TRUE;
}
bver = portver(pkg:"seamonkey");
if(!isnull(bver) && revcomp(a:bver, b:"2.0")>0 && revcomp(a:bver, b:"2.0.9")<0) {
txt += 'Package seamonkey version ' + bver + ' is installed which is known to be vulnerable.\n';
vuln = TRUE;
}
bver = portver(pkg:"thunderbird");
if(!isnull(bver) && revcomp(a:bver, b:"3.0")>=0 && revcomp(a:bver, b:"3.0.9")<0) {
txt += 'Package thunderbird version ' + bver + ' is installed which is known to be vulnerable.\n';
vuln = TRUE;
}
if(!isnull(bver) && revcomp(a:bver, b:"3.1")>=0 && revcomp(a:bver, b:"3.1.5")<0) {
txt += 'Package thunderbird 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.mozilla.org/security/announce/2010/mfsa2010-64.html
www.mozilla.org/security/announce/2010/mfsa2010-65.html
www.mozilla.org/security/announce/2010/mfsa2010-66.html
www.mozilla.org/security/announce/2010/mfsa2010-67.html
www.mozilla.org/security/announce/2010/mfsa2010-68.html
www.mozilla.org/security/announce/2010/mfsa2010-69.html
www.mozilla.org/security/announce/2010/mfsa2010-70.html
www.mozilla.org/security/announce/2010/mfsa2010-71.html
www.mozilla.org/security/announce/2010/mfsa2010-72.html
www.vuxml.org/freebsd/c4f067b9-dc4a-11df-8e32-000f20797ede.html