Lucene search

K
openvasCopyright (C) 2021 Greenbone Networks GmbHOPENVAS:136141256231212012106
HistoryNov 11, 2021 - 12:00 a.m.

Mozilla Firefox Security Advisory (MFSA2012-106) - Linux

2021-11-1100:00:00
Copyright (C) 2021 Greenbone Networks GmbH
plugins.openvas.org
2

8.9 High

AI Score

Confidence

High

0.022 Low

EPSS

Percentile

89.3%

This host is missing a security update for Mozilla Firefox.

# Copyright (C) 2021 Greenbone Networks GmbH
# 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-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# 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.

CPE = "cpe:/a:mozilla:firefox";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.2.1.2012.106");
  script_cve_id("CVE-2012-5830", "CVE-2012-5833", "CVE-2012-5835", "CVE-2012-5838");
  script_tag(name:"creation_date", value:"2021-11-11 12:43:17 +0000 (Thu, 11 Nov 2021)");
  script_version("2023-10-20T16:09:12+0000");
  script_tag(name:"last_modification", value:"2023-10-20 16:09:12 +0000 (Fri, 20 Oct 2023)");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2020-08-13 17:31:00 +0000 (Thu, 13 Aug 2020)");

  script_name("Mozilla Firefox Security Advisory (MFSA2012-106) - Linux");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2021 Greenbone Networks GmbH");
  script_family("General");
  script_dependencies("gb_firefox_detect_lin.nasl");
  script_mandatory_keys("mozilla/firefox/linux/detected");

  script_xref(name:"Advisory-ID", value:"MFSA2012-106");
  script_xref(name:"URL", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2012-106/");
  script_xref(name:"URL", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=775228");
  script_xref(name:"URL", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=785734");
  script_xref(name:"URL", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=790879");
  script_xref(name:"URL", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=802778");

  script_tag(name:"summary", value:"This host is missing a security update for Mozilla Firefox.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable package version is present on the target host.");

  script_tag(name:"insight", value:"Use-after-free, buffer overflow, and memory corruption issues found using Address Sanitizer
Security researcher miaubiz used the Address Sanitizer tool
to discover a series critically rated of use-after-free, buffer overflow, and memory corruption issues in shipped software. These issues are potentially exploitable, allowing for remote code execution. We would also like to thank miaubiz for reporting two additional use-after-free and memory corruption issues introduced during Firefox development that were fixed before general release.");

  script_tag(name:"affected", value:"Firefox version(s) below 17.");

  script_tag(name:"solution", value:"The vendor has released an update. Please see the reference(s) for more information.");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"qod_type", value:"executable_version_unreliable");

  exit(0);
}

include("host_details.inc");
include("version_func.inc");

if (!infos = get_app_version_and_location(cpe: CPE, exit_no_version: TRUE))
  exit(0);

version = infos["version"];
location = infos["location"];

if (version_is_less(version: version, test_version: "17")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "17", install_path: location);
  security_message(port: 0, data: report);
  exit(0);
}

exit(99);