Microsoft SharePoint Enterprise Server 2016 RCE Vulnerability (KB5002006)
🗓️ 13 Oct 2021 00:00:00Reported by Copyright (C) 2021 Greenbone AGType
openvas🔗 plugins.openvas.org👁 29 Views
| Reporter | Title | Published | Views | Family All 45 |
|---|---|---|---|---|
| CVE-2021-40486 | 13 Oct 202101:15 | – | attackerkb | |
| Security News: Microsoft Patch Tuesday October 2021, Autodiscover, MysterySnail, Exchange, DNS, Apache, HAProxy, VMware vCenter, Moodle | 21 Oct 202100:23 | – | avleonov | |
| The vulnerability of Microsoft Word’s text editor, related to improper handling of code generation, allows a perpetrator to execute arbitrary code. | 15 Oct 202100:00 | – | bdu_fstec | |
| CVE-2021-40486 | 13 Oct 202107:32 | – | circl | |
| Microsoft Word 代码注入漏洞 | 12 Oct 202100:00 | – | cnnvd | |
| Microsoft Word Code Execution Vulnerability (CNVD-2025-17491) | 14 Oct 202100:00 | – | cnvd | |
| CVE-2021-40486 | 13 Oct 202100:27 | – | cve | |
| CVE-2021-40486 Microsoft Word Remote Code Execution Vulnerability | 13 Oct 202100:27 | – | cvelist | |
| EUVD-2021-27663 | 3 Oct 202520:07 | – | euvd | |
| Description of the security update for SharePoint Enterprise Server 2013: October 12, 2021 (KB5001924) | 12 Oct 202107:00 | – | mskb |
10
| Source | Link |
|---|---|
| support | www.support.microsoft.com/en-us/help/5002006 |
# SPDX-FileCopyrightText: 2021 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:microsoft:sharepoint_server";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.818906");
script_version("2025-08-05T05:45:17+0000");
script_cve_id("CVE-2021-40486");
script_tag(name:"cvss_base", value:"6.8");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");
script_tag(name:"last_modification", value:"2025-08-05 05:45:17 +0000 (Tue, 05 Aug 2025)");
script_tag(name:"severity_vector", value:"CVSS:3.1/AV:L/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:"2021-10-19 15:44:00 +0000 (Tue, 19 Oct 2021)");
script_tag(name:"creation_date", value:"2021-10-13 12:01:31 +0530 (Wed, 13 Oct 2021)");
script_name("Microsoft SharePoint Enterprise Server 2016 RCE Vulnerability (KB5002006)");
script_tag(name:"summary", value:"This host is missing a critical security
update according to Microsoft KB5002006");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present
on the target host.");
script_tag(name:"insight", value:"The flaw exists due to the presence of an
error when a maliciously modified file is opened in Microsoft SharePoint Server.");
script_tag(name:"impact", value:"Successful exploitation will allow an attacker
to execute arbitrary code on the affected system.");
script_tag(name:"affected", value:"Microsoft SharePoint Enterprise Server 2016.");
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://support.microsoft.com/en-us/help/5002006");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2021 Greenbone AG");
script_family("Windows : Microsoft Bulletins");
script_dependencies("gb_microsoft_sharepoint_smb_login_detect.nasl");
script_mandatory_keys("microsoft/sharepoint/server/smb-login/detected");
script_require_ports(139, 445);
exit(0);
}
include("smb_nt.inc");
include("host_details.inc");
include("version_func.inc");
include("secpod_smb_func.inc");
if(isnull(port = get_app_port(cpe:CPE, service:"smb-login")))
exit(0);
if(!infos = get_app_version_and_location(cpe:CPE, port:port, exit_no_version:TRUE))
exit(0);
vers = infos["version"];
if(!vers || vers !~ "^16\.")
exit(0);
if(!os_arch = get_kb_item("SMB/Windows/Arch"))
exit(0);
if("x86" >< os_arch) {
key_list = make_list("SOFTWARE\Microsoft\Windows\CurrentVersion");
}
else if("x64" >< os_arch) {
key_list = make_list("SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion",
"SOFTWARE\Microsoft\Windows\CurrentVersion");
}
foreach key(key_list) {
path = registry_get_sz(key:key, item:"CommonFilesDir");
if(path) {
path = path + "\microsoft shared\SERVER16\Server Setup Controller";
dllVer = fetch_file_version(sysPath:path, file_name:"wsssetup.dll");
if(dllVer =~ "^16\." && version_is_less(version:dllVer, test_version:"16.0.5227.1000")) {
report = report_fixed_ver(file_checked:path + "\wsssetup.dll",
file_version:dllVer, vulnerable_range:"16.0 - 16.0.5227.0999");
security_message(port:port, data:report);
exit(0);
}
}
}
exit(99);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
05 Aug 2025 00:00Current
7.5High risk
Vulners AI Score7.5
CVSS 26.8
CVSS 3.17.8
EPSS0.05985