CVE-2020-0796 — Windows SMBv3 Client/Server Remote Code Execution Vulnerability
Executive Summary
A remote code execution 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 gain the ability to execute code on the target server or client. 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.
Overview
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P/RL:O/RC:C
EPSS Score
Affected Products
| Product | KB Article | Severity | Impact | Restart Required |
|---|---|---|---|---|
| Windows 10 Version 1903 for 32-bit Systems | 4551762 (Security Update) |
Critical | Remote Code Execution | Yes |
| Windows 10 Version 1903 for ARM64-based Systems | 4551762 (Security Update) |
Critical | Remote Code Execution | Yes |
| Windows 10 Version 1903 for x64-based Systems | 4551762 (Security Update) |
Critical | Remote Code Execution | Yes |
| Windows 10 Version 1909 for 32-bit Systems | 4551762 (Security Update) |
Critical | Remote Code Execution | Yes |
| Windows 10 Version 1909 for ARM64-based Systems | 4551762 (Security Update) |
Critical | Remote Code Execution | Yes |
| Windows 10 Version 1909 for x64-based Systems | 4551762 (Security Update) |
Critical | Remote Code Execution | Yes |
| Windows Server, version 1903 (Server Core installation) | 4551762 (Security Update) |
Critical | Remote Code Execution | Yes |
| Windows Server, version 1909 (Server Core installation) | 4551762 (Security Update) |
Critical | Remote Code Execution | Yes |
Patches
| Article | Type | Restart |
|---|---|---|
4551762 |
Security Update | Yes |
Exploits & PoC
15 public PoCsUnverified third-party code
Public proof-of-concept repositories aggregated from PoC-in-GitHub. They are not reviewed and may be incomplete, non-functional, or malicious — inspect the code before running anything.
| Repository | Stars | Published | Description |
|---|---|---|---|
| danigargu/CVE-2020-0796 | 1359 | 2020-03-30 | CVE-2020-0796 - Windows SMBv3 LPE exploit #SMBGhost |
| ly4k/SMBGhost | 721 | 2020-03-11 | Scanner for CVE-2020-0796 - SMBv3 RCE |
| jamf/CVE-2020-0796-RCE-POC | 571 | 2020-04-20 | CVE-2020-0796 Remote Code Execution POC |
| Barriuso/SMBGhost_AutomateExploitation | 355 | 2020-06-10 | SMBGhost (CVE-2020-0796) Automate Exploitation and Detection |
| eerykitty/CVE-2020-0796-PoC | 332 | 2020-03-12 | PoC for triggering buffer overflow via CVE-2020-0796 |
| jamf/CVE-2020-0796-LPE-POC | 244 | 2020-03-30 | CVE-2020-0796 Local Privilege Escalation POC |
| Rvn0xsy/CVE_2020_0796_CNA | 75 | 2020-04-06 | Cobalt Strike AggressorScripts CVE-2020-0796 |
| rsmudge/CVE-2020-0796-BOF | 70 | 2020-09-17 | |
| jiansiting/CVE-2020-0796 | 65 | 2020-04-01 | |
| ioncodes/SMBGhost | 57 | 2020-03-12 | Scanner for CVE-2020-0796 - A SMBv3.1.1 + SMB compression RCE |
| k8gege/PyLadon | 52 | 2019-11-19 | Ladon Scanner For Python, Large Network Penetration Scanner & Cobalt Strike, vulnerability / exploit / detection / MS17010/SmbGhost/CVE-2020-0796/CVE-2018-2894 |
| jamf/SMBGhost-SMBleed-scanner | 44 | 2020-07-06 | SMBGhost (CVE-2020-0796) and SMBleed (CVE-2020-1206) Scanner |
| eastmountyxz/CVE-2020-0796-SMB | 33 | 2020-04-02 | 该资源为CVE-2020-0796漏洞复现,包括Python版本和C++版本。主要是集合了github大神们的资源,希望您喜欢~ |
| T13nn3s/CVE-2020-0796 | 28 | 2020-03-11 | Powershell SMBv3 Compression checker |
| maxpl0it/Unauthenticated-CVE-2020-0796-PoC | 22 | 2020-03-15 | An unauthenticated PoC for CVE-2020-0796 |
Detection Rules
Detection availableCommunity detection & vulnerability-scanning rules aggregated from Sigma and Nuclei templates. Validate and tune to your environment before deploying.
Nuclei templates 1
nuclei -id CVE-2020-0796
Acknowledgments
Microsoft Platform Security Assurance & Vulnerability Research