PatchaPalooza

CVE-2020-1284: Windows SMBv3 Client/Server Denial of Service Vulnerability

CVE-2020-1284 is a denial of service vulnerability in Windows SMBv3 Client/Server, rated Important by Microsoft, with a CVSS 3.0 base score of 7.5 (High). An attacker can exploit it remotely over the network, without any privileges and without user interaction. Microsoft has not reported exploitation in the wild and rates exploitation as more likely. The EPSS model estimates a 7.05% probability of exploitation activity in the next 30 days, higher than 94% of all scored vulnerabilities. Microsoft released the fix on 9 June 2020 in the June 2020 Patch Tuesday, delivered through 1 security update (KB4557957). It affects 4 products in 1 product family (Windows).

Key facts

CVE ID
CVE-2020-1284
Severity
High CVSS 7.5
Microsoft severity
Important
Impact
Denial of Service
Exploited in the wild
No
Publicly disclosed
No
Exploitation likelihood
More Likely
EPSS
7.05% (percentile 94%)
CISA KEV
Not listed
Released
Last updated
Patch Tuesday
June 2020 Patch Tuesday
Product families
Windows

CVSS score and vector

Microsoft scores CVE-2020-1284 at 7.5 (temporal 6.7) using CVSS 3.0. Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:O/RC:C

MetricValue
Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
ScopeUnchanged
Confidentiality impactNone
Integrity impactNone
Availability impactHigh
Exploit code maturityProof of concept
Remediation levelOfficial fix
Report confidenceConfirmed

NVD scores it 6.5 (MEDIUM) with CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

Description

A denial of service vulnerability exists in the way that the Microsoft Server Message Block 3.1.1 (SMBv3) protocol handles certain requests. An authenticated attacker who successfully exploited this vulnerability against an SMB Server could cause the affected system to crash. An unauthenticated attacker could also exploit this this vulnerability against an SMB client and cause the affected system to crash.

To exploit the vulnerability against a server, an authenticated attacker could send a specially crafted packet to a targeted SMBv3 server. To exploit the vulnerability against a client, an unauthenticated attacker would need to configure a malicious SMBv3 server and convince a user to connect to it.

The security update addresses the vulnerability by correcting how the SMBv3 protocol handles these specially crafted requests.

Frequently asked questions (Microsoft)

What steps can I take to protect my network?

1. Block TCP port 445 at the enterprise perimeter firewall

TCP port 445 is used to initiate a connection with the affected component. Blocking this port at the network perimeter firewall will help protect systems that are behind that firewall from attempts to exploit this vulnerability. This can help protect networks from attacks that originate outside the enterprise perimeter. Blocking the affected ports at the enterprise perimeter is the best defense to help avoid Internet-based attacks. However, systems could still be vulnerable to attacks from within their enterprise perimeter.

2. Follow Microsoft guidelines to prevent SMB traffic from lateral connections and entering or leaving the network

Preventing SMB traffic from lateral connections and entering or leaving the network

Windows Server, version 2004 (Server Core installation) is in the Security Updates Table. Is Windows Server, version 2004 that is not Server Core installation affected by this vulnerability?

No. Windows Server, version 2004 was released under the Semi-Annual Channel (SAC) channel. As such, only a Server Core installation is available. For more information Windows servicing channels, please see Servicing Channels-19

Mitigations and workarounds

The following workaround may be helpful in your situation. In all cases, Microsoft strongly recommends that you install the updates for this vulnerability as soon as they become available even if you plan to leave this workaround in place:

Disable SMBv3 compression

You can disable compression to block unauthenticated attackers from exploiting the vulnerability against an SMBv3 Server with the PowerShell command below.

Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" DisableCompression -Type DWORD -Value 1 -Force

Notes:

  • No reboot is needed after making the change.
  • This workaround does not prevent exploitation of SMB clients; please see item 2 under FAQ to protect clients.
  • SMB Compression is not yet used by Windows or Windows Server, and disabling SMB Compression has no negative performance impact.

You can disable the workaround with the PowerShell command below.

Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" DisableCompression -Type DWORD -Value 0 -Force

Note:

No reboot is needed after disabling the workaround.

Affected products (4)

Windows

ProductSecurity updateTypeFixed buildRestart
Windows 10 Version 2004 for x64-based SystemsKB4557957Security UpdateYes
Windows Server, version 2004 (Server Core installation)KB4557957Security UpdateYes
Windows 10 Version 2004 for ARM64-based SystemsKB4557957Security UpdateYes
Windows 10 Version 2004 for 32-bit SystemsKB4557957Security UpdateYes

Security updates (1)

NIST NVD data

NVD status
Modified
NVD CVSS
6.5 (MEDIUM)
Published to NVD
NVD last modified

Affected configurations (CPE)

ProductVulnerable versions
windows 10 2004all listed versions
windows server 2016 2004all listed versions

References

Acknowledgments

  • Microsoft Platform Security Assurance & Vulnerability Research

Revision history

VersionDateDescription
1.0Information published.

Sources