Lucene search

K
openvasCopyright (C) 2023 Greenbone AGOPENVAS:1361412562310832542
HistoryOct 11, 2023 - 12:00 a.m.

Microsoft Windows Multiple Vulnerabilities (KB5031377)

2023-10-1100:00:00
Copyright (C) 2023 Greenbone AG
plugins.openvas.org
3
microsoft windows
kb5031377
critical
security update
remote code execution
dos
elevation of privilege

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9 High

AI Score

Confidence

High

0.525 Medium

EPSS

Percentile

97.6%

This host is missing a critical security
update according to Microsoft KB5031377

# SPDX-FileCopyrightText: 2023 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.832542");
  script_version("2023-10-13T16:09:03+0000");
  script_xref(name:"CISA", value:"Known Exploited Vulnerability (KEV) catalog");
  script_xref(name:"URL", value:"https://www.cisa.gov/known-exploited-vulnerabilities-catalog");
  script_cve_id("CVE-2023-36557", "CVE-2023-36722", "CVE-2023-36724", "CVE-2023-36598",
                "CVE-2023-36602", "CVE-2023-36563", "CVE-2023-36717", "CVE-2023-36436",
                "CVE-2023-36570", "CVE-2023-36731", "CVE-2023-36431", "CVE-2023-36726",
                "CVE-2023-36434", "CVE-2023-36438", "CVE-2023-36718", "CVE-2023-36732",
                "CVE-2023-41773", "CVE-2023-41771", "CVE-2023-41770", "CVE-2023-41768",
                "CVE-2023-41767", "CVE-2023-36743", "CVE-2023-36776", "CVE-2023-38166",
                "CVE-2023-35349", "CVE-2023-36564", "CVE-2023-36567", "CVE-2023-36571",
                "CVE-2023-36572", "CVE-2023-36573", "CVE-2023-36574", "CVE-2023-36575",
                "CVE-2023-36577", "CVE-2023-36578", "CVE-2023-36579", "CVE-2023-36581",
                "CVE-2023-36582", "CVE-2023-36583", "CVE-2023-36584", "CVE-2023-36585",
                "CVE-2023-36589", "CVE-2023-36590", "CVE-2023-36591", "CVE-2023-36592",
                "CVE-2023-36593", "CVE-2023-36594", "CVE-2023-36596", "CVE-2023-36606",
                "CVE-2023-36697", "CVE-2023-36701", "CVE-2023-36702", "CVE-2023-36709",
                "CVE-2023-36710", "CVE-2023-36711", "CVE-2023-36712", "CVE-2023-36713",
                "CVE-2023-36729", "CVE-2023-41774", "CVE-2023-41769", "CVE-2023-41766",
                "CVE-2023-41765", "CVE-2023-38159");
  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:"2023-10-13 16:09:03 +0000 (Fri, 13 Oct 2023)");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2023-10-10 18:21:00 +0000 (Tue, 10 Oct 2023)");
  script_tag(name:"creation_date", value:"2023-10-11 13:16:20 +0530 (Wed, 11 Oct 2023)");
  script_name("Microsoft Windows Multiple Vulnerabilities (KB5031377)");

  script_tag(name:"summary", value:"This host is missing a critical security
  update according to Microsoft KB5031377");

  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 PrintHTML API.

  - A Denial of Service vulnerability in Windows TCP/IP.

  - An Elevation of Privilege Vulnerability in Microsoft Resilient File System (ReFS).

  For more information about the vulnerabilities refer to Reference links.");

  script_tag(name:"impact", value:"Successful exploitation will allow an
  attacker to elevate privileges, execute arbitrary commands, disclose
  information, bypass security restrictions and conduct DoS
  attacks.");

  script_tag(name:"affected", value:"- Microsoft Windows 10 for 32-bit Systems

  - Microsoft Windows 10 for x64-based Systems");

  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/5031377");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2023 Greenbone AG");
  script_family("Windows : Microsoft Bulletins");
  script_dependencies("smb_reg_service_pack.nasl");
  script_require_ports(139, 445);
  script_mandatory_keys("SMB/WindowsVersion");
  exit(0);
}

include("smb_nt.inc");
include("secpod_reg.inc");
include("version_func.inc");
include("secpod_smb_func.inc");

if(hotfix_check_sp(win10:1, win10x64:1) <= 0){
  exit(0);
}

dllPath = smb_get_system32root();
if(!dllPath ){
  exit(0);
}

fileVer = fetch_file_version(sysPath:dllPath, file_name:"ntoskrnl.exe");
if(!fileVer){
  exit(0);
}

if(version_in_range(version:fileVer, test_version:"10.0.10240.0", test_version2:"10.0.10240.20231"))
{
  report = report_fixed_ver(file_checked:dllPath + "\Ntoskrnl.exe",
                            file_version:fileVer, vulnerable_range:"10.0.10240.0 - 10.0.10240.20231");
  security_message(port:0, data:report);
  exit(0);
}
exit(99);

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9 High

AI Score

Confidence

High

0.525 Medium

EPSS

Percentile

97.6%