{"vuid":"VU#872016","idnumber":"872016","name":"Microsoft SMBv3 compression remote code execution vulnerability","keywords":[""],"overview":"### Overview ###\r\n<p>Microsoft SMBv3 contains a vulnerability in the handling of compression, which may allow a remote, unauthenticated attacker to execute arbitrary code on a vulnerable system. This vulnerability is being referred to as \"SMBGhost and CoronaBlue.\"</p>\r\n\r\n### Description ###\r\n<p>Microsoft Server Message Block 3.1.1 (SMBv3) contains a vulnerability in the way that it handles connections that use compression. This vulnerability may allow a remote, unauthenticated attacker to execute arbitrary code on a vulnerable system. It has been reported that this vulnerability is \"wormable.\"</p>\r\n\r\n### Impact ###\r\n<p>By connecting to a vulnerable Windows machine using SMBv3, or by causing a vulnerable Windows system to initiate a client connection to a SMBv3 server, a remote, unauthenticated attacker may be able to execute arbitrary code with SYSTEM privileges on a vulnerable system.</p>\r\n\r\n### Solution ###\r\n<p><b>Apply an update</b></p><p>This issue has been addressed in the <a href=\"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-0796\">Microsoft update for CVE-2020-0796</a>. Please also consider the following workarounds:</p><p><b>Disable SMBv3 compression</b><br/><br/>According to <a href=\"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/adv200005\">Microsoft Security Advisory ADV200005</a> :</p><ul><br/><i>You can disable compression to block unauthenticated attackers from exploiting the vulnerability against an SMBv3 Server with the PowerShell command below.</i><br/><br/><tt><i>Set-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Services\\LanmanServer\\Parameters\" DisableCompression -Type DWORD -Value 1 -Force</i></tt><br/><br/><i>Notes:</i><br/><br/>1. <i>No reboot is needed after making the change.</i><br/>2. <i>This workaround does not prevent exploitation of SMB clients.</i><br/><br/><i>You can disable the workaround with the PowerShell command below.</i><br/><br/><tt><i>Set-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Services\\LanmanServer\\Parameters\" DisableCompression -Type DWORD -Value 0 -Force</i></tt></ul><br/><b>Block inbound and outbound SMB</b><br/><br/>Consider blocking outbound SMB connections (TCP port  445 for SMBv3) from the local network to the WAN. Also ensure that SMB connections from the internet are not allowed to connect inbound to an enterprise LAN.\r\n\r\n### Acknowledgements ###\r\n<p>This document was written by Will Dormann.</p>","clean_desc":"Microsoft Server Message Block 3.1.1(SMBv3)contains a vulnerability in the way that it handles connections that use compression. This vulnerability may allow a remote,unauthenticated attacker to execute arbitrary code on a vulnerable system. It has been reported that this vulnerability is\"wormable.\"","impact":"By connecting to a vulnerable Windows machine using SMBv3, or by causing a vulnerable Windows system to initiate a client connection to a SMBv3 server, a remote, unauthenticated attacker may be able to execute arbitrary code with SYSTEM privileges on a vulnerable system.","resolution":"Apply an update This issue has been addressed in the Microsoft update for CVE-2020-0796. Please also consider the following workarounds:","workarounds":"Disable SMBv3 compression According to Microsoft Security Advisory ADV200005 : You can disable compression to block unauthenticated attackers from exploiting the vulnerability against an SMBv3 Server with the PowerShell command below. Set-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Services\\LanmanServer\\Parameters\" DisableCompression -Type DWORD -Value 1 -Force Notes: No reboot is needed after making the change. This workaround does not prevent exploitation of SMB clients. You can disable the workaround with the PowerShell command below. Set-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Services\\LanmanServer\\Parameters\" DisableCompression -Type DWORD -Value 0 -Force Block inbound and outbound SMB Consider blocking outbound SMB connections (TCP port  445 for SMBv3) from the local network to the WAN. Also ensure that SMB connections from the internet are not allowed to connect inbound to an enterprise LAN.","sysaffected":"","thanks":"","author":"This document was written by Will Dormann.","public":["https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-0796","https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/adv200005"],"cveids":["CVE-2020-0796"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2020-03-11T00:26:32Z","publicdate":"2020-03-10T00:00:00Z","datefirstpublished":"2020-03-11T00:43:22Z","dateupdated":"2020-06-04T21:26:29.390006Z","revision":28,"vrda_d1_directreport":"0","vrda_d1_population":"","vrda_d1_impact":"","cam_widelyknown":"0","cam_exploitation":"0","cam_internetinfrastructure":"0","cam_population":"0","cam_impact":"0","cam_easeofexploitation":"0","cam_attackeraccessrequired":"0","cam_scorecurrent":"0","cam_scorecurrentwidelyknown":"0","cam_scorecurrentwidelyknownexploited":"0","ipprotocol":"","cvss_accessvector":"N","cvss_accesscomplexity":"L","cvss_authentication":null,"cvss_confidentialityimpact":"C","cvss_integrityimpact":"C","cvss_availabilityimpact":"C","cvss_exploitablity":null,"cvss_remediationlevel":"OF","cvss_reportconfidence":"C","cvss_collateraldamagepotential":"ND","cvss_targetdistribution":"ND","cvss_securityrequirementscr":"ND","cvss_securityrequirementsir":"ND","cvss_securityrequirementsar":"ND","cvss_basescore":"10","cvss_basevector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","cvss_temporalscore":"7.8","cvss_environmentalscore":"7.82568936576","cvss_environmentalvector":"CDP:ND/TD:ND/CR:ND/IR:ND/AR:ND","metric":0.0,"vulnote":4}