Mozilla Firefox is prone to multiple
vulnerabilities.
# SPDX-FileCopyrightText: 2024 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
CPE = "cpe:/a:mozilla:firefox";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.832888");
script_version("2024-04-05T05:05:37+0000");
script_cve_id("CVE-2024-29943", "CVE-2024-29944");
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:"last_modification", value:"2024-04-05 05:05:37 +0000 (Fri, 05 Apr 2024)");
script_tag(name:"creation_date", value:"2024-03-25 15:23:16 +0530 (Mon, 25 Mar 2024)");
script_name("Mozilla Firefox Security Update (mfsa_2024-15) - Windows");
script_tag(name:"summary", value:"Mozilla Firefox is prone to multiple
vulnerabilities.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present
on the target host.");
script_tag(name:"insight", value:"These vulnerabilities exist:
- CVE-2024-29943: Out-of-bounds access via Range Analysis bypass
- CVE-2024-29944: Privileged JavaScript Execution via Event Handlers.");
script_tag(name:"impact", value:"Successful exploitation allows an attacker
to conduct arbitrary code execution.");
script_tag(name:"affected", value:"Mozilla Firefox prior to version 124.0.1
on Windows.");
script_tag(name:"solution", value:"Update to version 124.0.1 or later.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"registry");
script_xref(name:"URL", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2024-15/");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2024 Greenbone AG");
script_family("General");
script_dependencies("gb_firefox_detect_win.nasl");
script_mandatory_keys("Firefox/Win/Ver");
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);
vers = infos["version"];
path = infos["location"];
if(version_is_less(version:vers, test_version:"124.0.1")) {
report = report_fixed_ver(installed_version:vers, fixed_version:"124.0.1", install_path:path);
security_message(port:0, data:report);
exit(0);
}
exit(99);