Description
A remote code execution vulnerability exists in the way that the Microsoft Server Message Block 3.1.1 (SMBv3) protocol handles certain requests, aka 'Windows SMBv3 Client/Server Remote Code Execution Vulnerability'.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Microsoft | Windows 10 Version 1903 for 32-bit Systems | unspecified | — |
| Microsoft | Windows 10 Version 1903 for x64-based Systems | unspecified | — |
| Microsoft | Windows 10 Version 1903 for ARM64-based Systems | unspecified | — |
| Microsoft | Windows Server, version 1903 (Server Core installation) | unspecified | — |
| Microsoft | Windows 10 Version 1909 for 32-bit Systems | unspecified | — |
| Microsoft | Windows 10 Version 1909 for x64-based Systems | unspecified | — |
| Microsoft | Windows 10 Version 1909 for ARM64-based Systems | unspecified | — |
| Microsoft | Windows Server, version 1909 (Server Core installation) | unspecified | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 2 modules
-
SMBv3 Compression Buffer Overflow
exploit/windows/smb/cve_2020_0796_smbghost
-
SMBv3 Compression Buffer Overflow
exploit/windows/local/cve_2020_0796_smbghost
Exploit-DB 3
- Microsoft Windows - 'SMBGhost' Remote Code Execution EDB-48537 · remote · Jun 2, 2020
- Microsoft Windows 10 (1903/1909) - 'SMBGhost' SMB3.1.1 'SMB2_COMPRESSION_CAPABILITIES' Local Privilege Escalation EDB-48267 · local · Mar 30, 2020
- Microsoft Windows 10 (1903/1909) - 'SMBGhost' SMB3.1.1 'SMB2_COMPRESSION_CAPABILITIES' Buffer Overflow (PoC) EDB-48216 · dos · Mar 14, 2020
GitHub 86 repositories · most starred shown
-
danigargu/CVE-2020-0796 ★ 1,359 · Mar 30, 2020
CVE-2020-0796 - Windows SMBv3 LPE exploit #SMBGhost
-
ly4k/SMBGhost ★ 724 · Mar 11, 2020
Scanner for CVE-2020-0796 - SMBv3 RCE
-
jamf/CVE-2020-0796-RCE-POC ★ 570 · Apr 20, 2020
CVE-2020-0796 Remote Code Execution POC
-
Barriuso/SMBGhost_AutomateExploitation ★ 361 · Jun 10, 2020
SMBGhost (CVE-2020-0796) Automate Exploitation and Detection
-
eerykitty/CVE-2020-0796-PoC ★ 332 · Mar 12, 2020
PoC for triggering buffer overflow via CVE-2020-0796
-
jamf/CVE-2020-0796-LPE-POC ★ 244 · Mar 30, 2020
CVE-2020-0796 Local Privilege Escalation POC
-
Rvn0xsy/CVE_2020_0796_CNA ★ 74 · Apr 6, 2020
Cobalt Strike AggressorScripts CVE-2020-0796
-
rsmudge/CVE-2020-0796-BOF ★ 70 · Sep 17, 2020
-
jiansiting/CVE-2020-0796 ★ 65 · Apr 1, 2020
-
ioncodes/SMBGhost ★ 57 · Mar 12, 2020
Scanner for CVE-2020-0796 - A SMBv3.1.1 + SMB compression RCE
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Microsoft SMBv3 - Remote Code Execution network/cves/2020/CVE-2020-0796.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Advisories 2
- SEVD-2021-285-05 Conext™ Advisor & Conext™ Control V2 Schneider Electric CPCERT · Oct 12, 2021
- SCA-2020-0003 MEAC affected by Windows SMBv3 vulnerability SICK PSIRT · Aug 7, 2020
References
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-0796
- http://packetstormsecurity.com/files/156731/CoronaBlue-SMBGhost-Microsoft-Windows-10-SMB-3.1.1-Proof-Of-Concept.html
- http://packetstormsecurity.com/files/156732/Microsoft-Windows-SMB-3.1.1-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/156980/Microsoft-Windows-10-SMB-3.1.1-Local-Privilege-Escalation.html
- http://packetstormsecurity.com/files/157110/SMBv3-Compression-Buffer-Overflow.html
- http://packetstormsecurity.com/files/157901/Microsoft-Windows-SMBGhost-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/158054/SMBleed-SMBGhost-Pre-Authentication-Remote-Code-Execution-Proof-Of-Concept.html