Lucene search

K
openvasCopyright (C) 2024 Greenbone AGOPENVAS:1361412562310834485
HistorySep 11, 2024 - 12:00 a.m.

Microsoft Windows Multiple Vulnerabilities (KB5043076)

2024-09-1100:00:00
Copyright (C) 2024 Greenbone AG
plugins.openvas.org
microsoft windows
vulnerabilities
kb5043076
cve-2024-38119
cve-2024-38254
privilege escalation
information disclosure
security update

CVSS3

9.8

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

AI Score

9.4

Confidence

High

EPSS

0.162

Percentile

96.1%

This host is missing an important security
update according to Microsoft KB5043076

# 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

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.834485");
  script_version("2024-09-18T07:47:18+0000");
  script_cve_id("CVE-2024-38119", "CVE-2024-38259", "CVE-2024-38246", "CVE-2024-38254",
                "CVE-2024-38240", "CVE-2024-30073", "CVE-2024-43461", "CVE-2024-38045",
                "CVE-2024-21416", "CVE-2024-38257", "CVE-2024-38248", "CVE-2024-38247",
                "CVE-2024-38245", "CVE-2024-38244", "CVE-2024-38243", "CVE-2024-38239",
                "CVE-2024-38238", "CVE-2024-38237", "CVE-2024-38235", "CVE-2024-38234",
                "CVE-2024-38217", "CVE-2024-38046", "CVE-2024-38014", "CVE-2024-38253",
                "CVE-2024-38252", "CVE-2024-38250", "CVE-2024-38249", "CVE-2024-38242",
                "CVE-2024-38241");
  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-09-18 07:47:18 +0000 (Wed, 18 Sep 2024)");
  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:"2024-09-17 16:38:39 +0000 (Tue, 17 Sep 2024)");
  script_tag(name:"creation_date", value:"2024-09-11 11:42:59 +0530 (Wed, 11 Sep 2024)");
  script_name("Microsoft Windows Multiple Vulnerabilities (KB5043076)");

  script_tag(name:"summary", value:"This host is missing an important security
  update according to Microsoft KB5043076");

  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-38119: Windows Network Address Translation (NAT) Remote Code Execution Vulnerability

  - CVE-2024-38254: Windows Authentication Information Disclosure Vulnerability");

  script_tag(name:"impact", value:"Successful exploitation allows an attacker
  to elevate privileges, execute arbitrary commands, disclose information,
  bypass security restrictions, conduct spoofing and denial of service
  attacks.");

  script_tag(name:"affected", value:"- Microsoft Windows 11 version 22H2 for x64-based Systems

  - Microsoft Windows 11 Version 23H2 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/5043076");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2024 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(win11:1) <= 0) {
  exit(0);
}

key = "SOFTWARE\Microsoft\Windows NT\CurrentVersion";
if(!registry_key_exists(key:key)) {
  exit(0);
}

build = registry_get_sz(key:key, item:"CurrentBuild");
if(!build || (build != "22621" && build != "22631")) {
  exit(0);
}

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

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

if(version_in_range(version:fileVer, test_version:"10.0.22621.0", test_version2:"10.0.22621.4168")) {
  report = report_fixed_ver(file_checked:dllPath + "\system32\ntoskrnl.exe", file_version:fileVer,
                            vulnerable_range:"10.0.22621.0 - 10.0.22621.4168");
  security_message(port:0, data:report);
  exit(0);
}

exit(99);

CVSS3

9.8

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

AI Score

9.4

Confidence

High

EPSS

0.162

Percentile

96.1%