module

SMBv3 Compression Buffer Overflow

Disclosed
2020-03-13
Created
2021-05-21

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 remove exploit implementation leverages this flaw to execute code
in the context of the kernel, finally yielding a session as NT AUTHORITY\SYSTEM in spoolsv.exe. Exploitation
can take a few minutes as the necessary data is gathered.

Authors

hugeh0ge
chompie1337
Spencer McIntyre

Platform

Windows

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/smb/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
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.