Microsoft Windows SMBv3 Compression RCE (ADV200005)(CVE-2020-0796)(Remote)

High Nessus Plugin ID 135177


The remote Windows host is using a vulnerable version of SMB.


A remote code execution vulnerability exists in Microsoft Server Message Block 3.1.1 (SMBv3) protocol due to how it handles a maliciously crafted compressed data packet. An unauthenticated, remote attacker can exploit this to bypass authentication and execute arbitrary commands.

Note that this plugin works only if it can to connect to the IPC$ share anonymously using SMB dialect 3.1.1.


Apply Cumulative Update KB4551762.

See Also

Plugin Details

Severity: High

ID: 135177

File Name: microsoft_smb_cve-2020-0796.nasl

Version: 1.3

Type: remote

Agent: windows

Family: Windows

Published: 2020/04/02

Updated: 2020/04/17

Dependencies: 25240, 11936, 106716

Risk Information

Risk Factor: High

CVSS Score Source: CVE-2020-0796

CVSS v2.0

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:H/RL:OF/RC:C

CVSS v3.0

Base Score: 10

Temporal Score: 9.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:H/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:microsoft:windows

Required KB Items: SMB/smb_dialect/3.1.1/compression

Excluded KB Items: SMB/samba

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2020/03/12

Vulnerability Publication Date: 2020/03/12

Exploitable With

Metasploit (SMBv3 Compression Buffer Overflow)

Reference Information

CVE: CVE-2020-0796

MSKB: 4551762

MSFT: MS20-4551762