KB4601345: Windows 10 Version 1809 and Windows Server 2019 February 2021 Security Update - Nessus

Critical   Plugin ID: 146337

This page contains detailed information about the KB4601345: Windows 10 Version 1809 and Windows Server 2019 February 2021 Security Update Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 146337
Name: KB4601345: Windows 10 Version 1809 and Windows Server 2019 February 2021 Security Update
Filename: smb_nt_ms21_feb_4601345.nasl
Vulnerability Published: 2021-02-09
This Plugin Published: 2021-02-09
Last Modification Time: 2021-11-30
Plugin Version: 1.10
Plugin Type: local
Plugin Family: Windows : Microsoft Bulletins
Dependencies: ms_bulletin_checks_possible.nasl, smb_check_rollup.nasl, smb_hotfixes.nasl
Required KB Items [?]: SMB/MS_Bulletin_Checks/Possible

Vulnerability Information


Severity: Critical
Vulnerability Published: 2021-02-09
Patch Published: 2021-02-09
CVE [?]: CVE-2021-1698, CVE-2021-1722, CVE-2021-1727, CVE-2021-1731, CVE-2021-1732, CVE-2021-1734, CVE-2021-24074, CVE-2021-24076, CVE-2021-24077, CVE-2021-24078, CVE-2021-24079, CVE-2021-24080, CVE-2021-24081, CVE-2021-24082, CVE-2021-24083, CVE-2021-24084, CVE-2021-24086, CVE-2021-24088, CVE-2021-24091, CVE-2021-24093, CVE-2021-24094, CVE-2021-24096, CVE-2021-24098, CVE-2021-24102, CVE-2021-24103, CVE-2021-24106, CVE-2021-25195
CPE [?]: cpe:/o:microsoft:windows
Exploited by Malware: True

Synopsis

The remote Windows host is affected by multiple vulnerabilities.

Description

The remote Windows host is missing security update 4601345. It is, therefore, affected by multiple vulnerabilities :

- An information disclosure vulnerability. An attacker can exploit this to disclose potentially sensitive information. (CVE-2021-1734, CVE-2021-24076, CVE-2021-24079, CVE-2021-24084, CVE-2021-24106)

- A denial of service (DoS) vulnerability. An attacker can exploit this issue to cause the affected component to deny system or application services. (CVE-2021-24080, CVE-2021-24086, CVE-2021-24098)

- A remote code execution vulnerability. An attacker can exploit this to bypass authentication and execute unauthorized arbitrary commands. (CVE-2021-1722, CVE-2021-24074, CVE-2021-24077, CVE-2021-24078, CVE-2021-24081, CVE-2021-24083, CVE-2021-24088, CVE-2021-24091, CVE-2021-24093, CVE-2021-24094)

- An elevation of privilege vulnerability. An attacker can exploit this to gain elevated privileges. (CVE-2021-1698, CVE-2021-1727, CVE-2021-1732, CVE-2021-24096, CVE-2021-24102, CVE-2021-24103, CVE-2021-25195)

- A security feature bypass vulnerability exists. An attacker can exploit this and bypass the security feature and perform unauthorized actions compromising the integrity of the system/application. (CVE-2021-1731, CVE-2021-24082)

Solution

Apply Cumulative Update KB4601345.

Public Exploits


Target Network Port(s): 139, 445
Target Asset(s): Host/patch_management_checks
Exploit Available: True (Metasploit Framework, GitHub)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the KB4601345: Windows 10 Version 1809 and Windows Server 2019 February 2021 Security Update vulnerability:

  1. Metasploit: exploit/windows/local/cve_2021_1732_win32k
    [Win32k ConsoleControl Offset Confusion]
  2. Metasploit: exploit/windows/local/cve_2022_21882_win32k
    [Win32k ConsoleControl Offset Confusion]
  3. GitHub: https://github.com/ycdxsb/WindowsPrivilegeEscalation
    [CVE-2021-1698]
  4. GitHub: https://github.com/klinix5/CVE-2021-1727
    [CVE-2021-1727]
  5. GitHub: https://github.com/Al1ex/WindowsElevation
    [CVE-2021-1732]
  6. GitHub: https://github.com/Ascotbe/Kernelhub
    [CVE-2021-1732]
  7. GitHub: https://github.com/BeneficialCode/CVE-2021-1732
    [CVE-2021-1732]
  8. GitHub: https://github.com/ClassBluer/Exploit_Tools
    [CVE-2021-1732]
  9. GitHub: https://github.com/CyberMonitor/somethingweneed
    [CVE-2021-1732]
  10. GitHub: https://github.com/David-Honisch/CVE-2022-21882
    [CVE-2021-1732]
  11. GitHub: https://github.com/EdgeSecurityTeam/Vulnerability
    [CVE-2021-1732]
  12. GitHub: https://github.com/ExploitCN/CVE-2021-1732-EXP-
    [CVE-2021-1732: 对1909下windows版本的EXP进行分析,并对代码添加调试和注释]
  13. GitHub: https://github.com/Jkrasher/WindowsThreatResearch_JKrasher
    [CVE-2021-1732]
  14. GitHub: https://github.com/KaLendsi/CVE-2022-21882
    [CVE-2021-1732]
  15. GitHub: https://github.com/Mr-xn/Penetration_Testing_POC
    [CVE-2021-1732]
  16. GitHub: https://github.com/SecWiki/windows-kernel-exploits
    [CVE-2021-1732]
  17. GitHub: https://github.com/SexyBeast233/SecBooks
    [CVE-2021-1732]
  18. GitHub: https://github.com/Spacial/awesome-csirt
    [CVE-2021-1732]
  19. GitHub: https://github.com/YOunGWebER/cve_2021_1732
    [CVE-2021-1732]
  20. GitHub: https://github.com/YangSirrr/YangsirStudyPlan
    [CVE-2021-1732]
  21. GitHub: https://github.com/bhassani/Recent-CVE
    [CVE-2021-1732]
  22. GitHub: https://github.com/demilson/Windows
    [CVE-2021-1732]
  23. GitHub: https://github.com/iGen1us/Windows-Kernal-CVE
    [CVE-2021-1732]
  24. GitHub: https://github.com/jessica0f0116/cve_2021_1732
    [CVE-2021-1732]
  25. GitHub: https://github.com/joydo/CVE-Writeups
    [CVE-2021-1732]
  26. GitHub: https://github.com/linuxdy/CVE-2021-1732_exp
    [CVE-2021-1732]
  27. GitHub: https://github.com/ltfafei/CVE-2021-1732_exp
    [CVE-2021-1732]
  28. GitHub: https://github.com/ltfafei/my_POC
    [CVE-2021-1732]
  29. GitHub: https://github.com/mishmashclone/SecWiki-windows-kernel-exploits
    [CVE-2021-1732]
  30. GitHub: https://github.com/oneoy/CVE-2021-1732-Exploit
    [CVE-2021-1732]
  31. GitHub: https://github.com/r1l4-i3pur1l4/CVE-2021-1732
    [CVE-2021-1732]
  32. GitHub: https://github.com/r1l4-i3pur1l4/CVE-2022-21882
    [CVE-2021-1732]
  33. GitHub: https://github.com/ycdxsb/WindowsPrivilegeEscalation
    [CVE-2021-1732]
  34. GitHub: https://github.com/yisan1/hh
    [CVE-2021-1732]
  35. GitHub: https://github.com/0vercl0k/CVE-2021-24086
    [CVE-2021-24074]
  36. GitHub: https://github.com/Spacial/awesome-csirt
    [CVE-2021-24074]
  37. GitHub: https://github.com/lisinan988/CVE-2021-24086-exp
    [CVE-2021-24074]
  38. GitHub: https://github.com/linhlhq/TinyAFL
    [CVE-2021-24080]
  39. GitHub: https://github.com/binganao/vulns-2022
    [CVE-2021-24084]
  40. GitHub: https://github.com/0vercl0k/0vercl0k
    [CVE-2021-24086]
  41. GitHub: https://github.com/EdgeSecurityTeam/Vulnerability
    [CVE-2021-24086]
  42. GitHub: https://github.com/SexyBeast233/SecBooks
    [CVE-2021-24086]
  43. GitHub: https://github.com/Spacial/awesome-csirt
    [CVE-2021-24086]
  44. GitHub: https://github.com/lisinan988/CVE-2021-24086-exp
    [CVE-2021-24086]
  45. GitHub: https://github.com/secdev/awesome-scapy
    [CVE-2021-24086]
  46. GitHub: https://github.com/xuejilinhan/CVE-2021-24086
    [CVE-2021-24086: test]
  47. GitHub: https://github.com/EdgeSecurityTeam/Vulnerability
    [CVE-2021-24093]
  48. GitHub: https://github.com/SexyBeast233/SecBooks
    [CVE-2021-24093]
  49. GitHub: https://github.com/xm88628/AfternoonTea
    [CVE-2021-24093]
  50. GitHub: https://github.com/0vercl0k/CVE-2021-24086
    [CVE-2021-24094]
  51. GitHub: https://github.com/lisinan988/CVE-2021-24086-exp
    [CVE-2021-24094]
  52. GitHub: https://github.com/FunPhishing/CVE-2021-24096
    [CVE-2021-24096]
  53. GitHub: https://github.com/ycdxsb/WindowsPrivilegeEscalation
    [CVE-2021-24096]
  54. GitHub: https://github.com/xuejilinhan/CVE-2021-24098
    [CVE-2021-24098: test]
  55. GitHub: https://github.com/exploitblizzard/Windows-Privilege-Escalation-CVE-2021-1732
    [CVE-2021-1732: Read my blog for more info -]
  56. GitHub: https://github.com/KaLendsi/CVE-2021-1732-Exploit
    [CVE-2021-1732: CVE-2021-1732 Exploit]
  57. GitHub: https://github.com/k-k-k-k-k/CVE-2021-1732
    [CVE-2021-1732: CVE-­2021­-1732 Microsoft Windows 10 本地提权漏 研究及Poc/Exploit开发]
  58. GitHub: https://github.com/Pai-Po/CVE-2021-1732
    [CVE-2021-1732: CVE-2021-1732 poc & exp; tested on 20H2]
  59. GitHub: https://github.com/exploitblizzard/WindowsMDM-LPE-0Day
    [CVE-2021-24084: CVE-2021-24084 Windows Local Privilege Escalation Left officially unpatched since ...]
  60. GitHub: https://github.com/ohnonoyesyes/CVE-2021-24084
    [CVE-2021-24084: Windows MDM LPE]
  61. GitHub: https://github.com/waleedassar/CVE-2021-24098
    [CVE-2021-24098: POC for CVE-2021-24098]
  62. GitHub: https://github.com/0vercl0k/CVE-2021-24086
    [CVE-2021-24086: Proof of concept for CVE-2021-24086, a NULL dereference in tcpip.sys triggered ...]

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS Score Source [?]: CVE-2021-24094
CVSS V2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P/E:H/RL:OF/RC:C
CVSS Base Score:7.5 (High)
Impact Subscore:6.4
Exploitability Subscore:10.0
CVSS Temporal Score:6.5 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:6.5 (Medium)
CVSS V3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H/RL:O/RC:C
CVSS Base Score:9.8 (Critical)
Impact Subscore:5.9
Exploitability Subscore:3.9
CVSS Temporal Score:9.4 (Critical)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:9.4 (Critical)
STIG Severity [?]: I
STIG Risk Rating: High

Go back to menu.

Plugin Source


This is the smb_nt_ms21_feb_4601345.nasl nessus plugin source code. This script is Copyright (C) 2021 and is owned by Tenable, Inc. or an Affiliate thereof.

#
# (C) Tenable Network Security, Inc.
#
# The descriptive text and package checks in this plugin were  
# extracted from the Microsoft Security Updates API. The text
# itself is copyright (C) Microsoft Corporation.
#

include('compat.inc');

if (description)
{
  script_id(146337);
  script_version("1.10");
  script_set_attribute(attribute:"plugin_modification_date", value:"2021/11/30");

  script_cve_id(
    "CVE-2021-1698",
    "CVE-2021-1722",
    "CVE-2021-1727",
    "CVE-2021-1731",
    "CVE-2021-1732",
    "CVE-2021-1734",
    "CVE-2021-24074",
    "CVE-2021-24076",
    "CVE-2021-24077",
    "CVE-2021-24078",
    "CVE-2021-24079",
    "CVE-2021-24080",
    "CVE-2021-24081",
    "CVE-2021-24082",
    "CVE-2021-24083",
    "CVE-2021-24084",
    "CVE-2021-24086",
    "CVE-2021-24088",
    "CVE-2021-24091",
    "CVE-2021-24093",
    "CVE-2021-24094",
    "CVE-2021-24096",
    "CVE-2021-24098",
    "CVE-2021-24102",
    "CVE-2021-24103",
    "CVE-2021-24106",
    "CVE-2021-25195"
  );
  script_xref(name:"MSKB", value:"4601345");
  script_xref(name:"MSFT", value:"MS21-4601345");
  script_xref(name:"IAVA", value:"2021-A-0072-S");
  script_xref(name:"IAVA", value:"2021-A-0093-S");
  script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2021/11/17");

  script_name(english:"KB4601345: Windows 10 Version 1809 and Windows Server 2019 February 2021 Security Update");

  script_set_attribute(attribute:"synopsis", value:
"The remote Windows host is affected by multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The remote Windows host is missing security update 4601345.
It is, therefore, affected by multiple vulnerabilities :

  - An information disclosure vulnerability. An attacker can
    exploit this to disclose potentially sensitive
    information. (CVE-2021-1734, CVE-2021-24076,
    CVE-2021-24079, CVE-2021-24084, CVE-2021-24106)

  - A denial of service (DoS) vulnerability. An attacker can
    exploit this issue to cause the affected component to
    deny system or application services. (CVE-2021-24080,
    CVE-2021-24086, CVE-2021-24098)

  - A remote code execution vulnerability. An attacker can
    exploit this to bypass authentication and execute
    unauthorized arbitrary commands. (CVE-2021-1722,
    CVE-2021-24074, CVE-2021-24077, CVE-2021-24078,
    CVE-2021-24081, CVE-2021-24083, CVE-2021-24088,
    CVE-2021-24091, CVE-2021-24093, CVE-2021-24094)

  - An elevation of privilege vulnerability. An attacker can
    exploit this to gain elevated privileges.
    (CVE-2021-1698, CVE-2021-1727, CVE-2021-1732,
    CVE-2021-24096, CVE-2021-24102, CVE-2021-24103,
    CVE-2021-25195)

  - A security feature bypass vulnerability exists. An
    attacker can exploit this and bypass the security
    feature and perform unauthorized actions compromising
    the integrity of the system/application. (CVE-2021-1731,
    CVE-2021-24082)");
  # https://support.microsoft.com/en-us/office/february-9-2021%e2%80%94kb4601345-os-build-17763-1757-c38b7b85-0d84-d979-1a29-e4ba97b82042?ui=en-US&rs=en-US&ad=US
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?a0231130");
  script_set_attribute(attribute:"solution", value:
"Apply Cumulative Update KB4601345.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:H/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2021-24094");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"exploited_by_malware", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'Win32k ConsoleControl Offset Confusion');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2021/02/09");
  script_set_attribute(attribute:"patch_publication_date", value:"2021/02/09");
  script_set_attribute(attribute:"plugin_publication_date", value:"2021/02/09");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:microsoft:windows");
  script_set_attribute(attribute:"stig_severity", value:"I");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows : Microsoft Bulletins");

  script_copyright(english:"This script is Copyright (C) 2021 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("smb_check_rollup.nasl", "smb_hotfixes.nasl", "ms_bulletin_checks_possible.nasl");
  script_require_keys("SMB/MS_Bulletin_Checks/Possible");
  script_require_ports(139, 445, "Host/patch_management_checks");

  exit(0);
}

include('audit.inc');
include('smb_hotfixes_fcheck.inc');
include('smb_hotfixes.inc');
include('smb_func.inc');
include('misc_func.inc');

get_kb_item_or_exit('SMB/MS_Bulletin_Checks/Possible');

bulletin = 'MS21-02';
kbs = make_list('4601345');

if (get_kb_item('Host/patch_management_checks')) hotfix_check_3rd_party(bulletin:bulletin, kbs:kbs, severity:SECURITY_HOLE);

get_kb_item_or_exit('SMB/Registry/Enumerated');
get_kb_item_or_exit('SMB/WindowsVersion', exit_code:1);

if (hotfix_check_sp_range(win10:'0') <= 0) audit(AUDIT_OS_SP_NOT_VULN);

share = hotfix_get_systemdrive(as_share:TRUE, exit_on_fail:TRUE);
if (!is_accessible_share(share:share)) audit(AUDIT_SHARE_FAIL, share);

if (
  smb_check_rollup(os:'10',
                   sp:0,
                   os_build:'17763',
                   rollup_date:'02_2021',
                   bulletin:bulletin,
                   rollup_kb_list:[4601345])
)
{
  replace_kb_item(name:'SMB/Missing/'+bulletin, value:TRUE);
  hotfix_security_hole();
  hotfix_check_fversion_end();
  exit(0);
}
else
{
  hotfix_check_fversion_end();
  audit(AUDIT_HOST_NOT, hotfix_get_audit_report());
}

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/smb_nt_ms21_feb_4601345.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\smb_nt_ms21_feb_4601345.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/smb_nt_ms21_feb_4601345.nasl

Go back to menu.

How to Run


Here is how to run the KB4601345: Windows 10 Version 1809 and Windows Server 2019 February 2021 Security Update as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select Windows : Microsoft Bulletins plugin family.
  6. On the right side table select KB4601345: Windows 10 Version 1809 and Windows Server 2019 February 2021 Security Update plugin ID 146337.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl smb_nt_ms21_feb_4601345.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a smb_nt_ms21_feb_4601345.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - smb_nt_ms21_feb_4601345.nasl -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state smb_nt_ms21_feb_4601345.nasl -t <IP/HOST>

Go back to menu.

References


MSKB | Microsoft Knowledge Base: MSFT | Microsoft Security Bulletin:
  • MS21-4601345
IAVA | Information Assurance Vulnerability Alert:
  • 2021-A-0072-S, 2021-A-0093-S
See also: Similar and related Nessus plugins:
  • 146326 - KB4601315: Windows 10 Version 1909 February 2021 Security Update
  • 146329 - KB4601318: Windows 10 Version 1607 and Windows Server 2016 February 2021 Security Update
  • 146345 - KB4601319: Windows 10 version 2004 Feb 2021 Security Update
  • 146335 - KB4601331: Windows 10 February 2021 Security Update
  • 146342 - KB4601363: Windows 7 and Windows Server 2008 R2 February 2021 Security Update
  • 146338 - KB4601357: Windows Server 2012 February 2021 Security Update
  • 146339 - KB4601354: Windows 10 Version 1803 February 2021 Security Update
  • 146327 - KB4601366: Windows Server 2008 February 2021 Security Update
  • 146341 - KB4601349: Windows 8.1 and Windows Server 2012 R2 February 2021 Security Update

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file smb_nt_ms21_feb_4601345.nasl version 1.10. For more plugins, visit the Nessus Plugin Library.

Go back to menu.