Windows SMBv3 Client/Server Information Disclosure Vulnerability (CVE-2020-1206)
The SMBv3.1.1 protocol mishandles certain crafted requests, causing uninitialised memory to be returned. An unauthenticated attacker could send a crafted packet to a server, or run a malicious server a victim connects to, and obtain information to further compromise the system.
Originally disclosed on Microsoft
Description
An information disclosure vulnerability exists in the way that the Microsoft Server Message Block 3.1.1 (SMBv3) protocol handles certain requests. An attacker who successfully exploited the vulnerability could obtain information to further compromise the user’s system. To exploit the vulnerability against a server, an unauthenticated 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.
FAQ
What type of information could be disclosed by this vulnerability? The type of information that could be disclosed if an attacker successfully exploited this vulnerability is uninitialized memory.
FAQ
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 Are older versions of Windows (other than what is listed in the Security Updates table) affected by this vulnerability? No, the vulnerability exists in a new feature that was added to Windows 10 version 1903. Older versions of Windows do not support SMBv3.1.1 compression and are not affected. Windows Server, version 1903 (Server Core installation) and Windows Server, version 1909 (Server Core installation) are in the Security Updates Table. Are Windows Server, version 1903 and Windows Server, version 1909 that are not Server Core installation affected by this vulnerability? No. Windows Server, versions 1903 and 1909 were both 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
Windows SMB
Windows SMB
Microsoft
Microsoft
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the SMBv3.1.1 compression handling fails to initialise a memory buffer before returning it in a response.
Impact
An unauthenticated attacker could disclose uninitialised memory, either by sending a crafted packet to a server or by luring a user to connect to a malicious server; only Windows 10 1903 and later and Server Core 1903/1909 are affected, and blocking TCP port 445 at the perimeter limits internet-based attacks.
What the attacker needed
Windows 10 1903+ or Server Core 1903/1909; Network reach to TCP port 445; For client attack, victim connects to rogue server
The fix
The vulnerability was fixed by a security update that corrects how the SMBv3 protocol handles these crafted requests.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
SMB is the file-sharing protocol Windows uses to talk to other machines. When a program reserves memory but forgets to fill it in, leftover data from earlier use can leak out; here a crafted SMB request makes the protocol send back such leftover memory. That leaked data may help an attacker plan a deeper attack.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.