Microsoft Office 365 (2016 Click-to-Run) Multiple Vulnerabilities (Dec 2022) update availabl
# SPDX-FileCopyrightText: 2022 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.818955");
script_version("2024-02-19T05:05:57+0000");
script_cve_id("CVE-2022-21840", "CVE-2022-21841");
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_tag(name:"last_modification", value:"2024-02-19 05:05:57 +0000 (Mon, 19 Feb 2024)");
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:"2022-01-14 16:45:00 +0000 (Fri, 14 Jan 2022)");
script_tag(name:"creation_date", value:"2022-01-13 09:31:05 +0530 (Thu, 13 Jan 2022)");
script_name("Microsoft Office 365 (2016 Click-to-Run) Multiple Vulnerabilities (Dec 2022)");
script_tag(name:"summary", value:"This host is missing a critical security
update according to Microsoft Office Click-to-Run updates");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present
on the target host.");
script_tag(name:"insight", value:"Multiple flaws exist due to:
- A remote code execution vulnerability in Microsoft Excel.
- A remote code execution vulnerability in Microsoft Office.");
script_tag(name:"impact", value:"Successful exploitation will allow an attacker
to conduct remote code execution.");
script_tag(name:"affected", value:"Microsoft Office 365 (2016 Click-to-Run).");
script_tag(name:"solution", value:"The vendor has released updates. Please see
the references for more information.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"executable_version");
script_xref(name:"URL", value:"https://docs.microsoft.com/en-us/officeupdates/microsoft365-apps-security-updates");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2022 Greenbone AG");
script_family("Windows : Microsoft Bulletins");
script_dependencies("gb_ms_office_click2run_detect_win.nasl");
script_mandatory_keys("MS/Off/C2R/Ver", "MS/Office/C2R/UpdateChannel");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
officeVer = get_kb_item("MS/Off/C2R/Ver");
if(!officeVer || officeVer !~ "^16\."){
exit(0);
}
UpdateChannel = get_kb_item("MS/Office/C2R/UpdateChannel");
officePath = get_kb_item("MS/Off/C2R/InstallPath");
## Version 2112 (Build 14729.20248)
## Monthly Channel renamed to Current Channel
if(UpdateChannel == "Monthly Channel")
{
if(version_is_less(version:officeVer, test_version:"16.0.14729.20248")){
fix = "2112 (Build 14729.20248)";
}
}
## Semi-Annual Channel (Targeted) renamed to Semi-Annual Enterprise Channel (Preview)
## Semi-Annual Enterprise Channel (Preview): Version 2108 (Build 14326.20738)
else if(UpdateChannel == "Semi-Annual Channel (Targeted)")
{
if(version_is_less(version:officeVer, test_version:"16.0.14326.20738")){
fix = "2108 (Build 14326.20738)";
}
}
## Semi-Annual Enterprise Channel: Version 2108 (Build 14326.20738)
## Semi-Annual Enterprise Channel: Version 2102 (Build 13801.21106)
## Semi-Annual Enterprise Channel: Version 2008 (Build 13127.21856)
else if(UpdateChannel == "Semi-Annual Channel")
{
if(version_is_less(version:officeVer, test_version:"16.0.13127.21856")){
fix = "2008 (Build 13127.21856)";
}
else if(version_in_range(version:officeVer, test_version:"16.0.13801", test_version2:"16.0.13801.21105")){
fix = "2102 (Build 13801.21106)";
}
else if(version_in_range(version:officeVer, test_version:"16.0.14326", test_version2:"16.0.14326.20737")){
fix = "2108 (Build 14326.20738)";
}
}
if(fix)
{
report = report_fixed_ver(installed_version:officeVer, fixed_version:fix, install_path:officePath);
security_message(data:report);
exit(0);
}
exit(99);
Transform Your Security Services
Elevate your offerings with Vulners' advanced Vulnerability Intelligence. ContactΒ us for a demo andΒ discover the difference comprehensive, actionable intelligence can make in your security strategy.
Book a live demo