Security Update for .NET Core SDK (August 2023)

high Nessus Plugin ID 180502

Synopsis

The remote Windows host is affected by multiple Microsoft .NET Core SDK vulnerabilities.

Description

The version of Microsoft .NET Core SDK installed on the remote host is 6.0.x prior to 6.0.121, 6.0.x prior to 6.0.316, 6.0.x prior to 6.0.413, 7.0.x prior to 7.0.110 or 7.0.x prior to 307. It is, therefore, affected by multiple vulnerabilities, as follows:

- A vulnerability exists when some dotnet commands are used in directories with weaker permissions which can result in remote code execution. (CVE-2023-35390)
- A vulnerability exists in .NET 6.0 and .NET 7.0 applications using SignalR when redis backplane use might result in information disclosure. (CVE-2023-35391)

- A vulnerability exists in Kestrel where, on detecting a potentially malicious client, Kestrel will sometimes fail to disconnect it, resulting in denial of service. (CVE-2023-38180)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update .NET Core SDK, remove vulnerable packages and refer to KB5029688 and KB5029689.

See Also

https://dotnet.microsoft.com/download/dotnet/6.0

https://dotnet.microsoft.com/download/dotnet/7.0

https://github.com/dotnet/sdk/security/advisories/GHSA-p8rx-fwgq-rh2f

https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-35390

https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-35391

https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-38180

http://www.nessus.org/u?dcaaf116

http://www.nessus.org/u?f7b7e1c7

Plugin Details

Severity: High

ID: 180502

File Name: smb_nt_ms23_aug_dotnet_core_sdk.nasl

Version: 1.2

Type: local

Agent: windows

Family: Windows

Published: 9/5/2023

Updated: 9/6/2023

Configuration: Enable paranoid mode

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2023-35391

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7.2

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

CVSS Score Source: CVE-2023-35390

Vulnerability Information

CPE: cpe:/a:microsoft:.net_core

Required KB Items: installed_sw/.NET Core SDK Windows, Settings/ParanoidReport

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/8/2023

Vulnerability Publication Date: 8/8/2023

CISA Known Exploited Vulnerability Due Dates: 8/30/2023

Reference Information

CVE: CVE-2023-35390, CVE-2023-35391, CVE-2023-38180

MSFT: MS23-5029688, MS23-5029689

MSKB: 5029688, 5029689