Rapid7 Vulnerability & Exploit Database

SMBv3 Compression Buffer Overflow

Back to Search

SMBv3 Compression Buffer Overflow

Disclosed
03/13/2020
Created
04/03/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.

Author(s)

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

Platform

Windows

Architectures

x86, x64

Development

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

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;