Rapid7

module

SMBv3 Compression Buffer Overflow

Disclosed
Mar 13, 2020
Created
Apr 3, 2020

Description

A vulnerability exists within the Microsoft Server Message Block 3.1.1 (SMBv3) protocol that can be leveraged to
execute code on a vulnerable server. This local exploit implementation leverages this flaw to elevate itself
before injecting a payload into winlogon.exe.

Authors

Daniel García Gutiérrez
Manuel Blanco Parajón
Spencer McIntyre

Platform

Windows

Architectures

x64

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/windows/local/cve_2020_0796_smbghost
msf exploit(cve_2020_0796_smbghost) > show targets
...targets...
msf exploit(cve_2020_0796_smbghost) > set TARGET < target-id >
msf exploit(cve_2020_0796_smbghost) > show options
...show and set options...
msf exploit(cve_2020_0796_smbghost) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.