{"document":{"acknowledgments":[{"urls":["https://kb.cert.org/vuls/id/872016#acknowledgements"]}],"category":"CERT/CC Vulnerability Note","csaf_version":"2.0","notes":[{"category":"summary","text":"### 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>","title":"Summary"},{"category":"legal_disclaimer","text":"THIS DOCUMENT IS PROVIDED ON AN 'AS IS' BASIS AND DOES NOT IMPLY ANY KIND OF GUARANTEE OR WARRANTY, INCLUDING THE WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. YOUR USE OF THE INFORMATION ON THE DOCUMENT OR MATERIALS LINKED FROM THE DOCUMENT IS AT YOUR OWN RISK. ","title":"Legal Disclaimer"},{"category":"other","text":"CERT/CC Vulnerability Note is a limited advisory. It primarily identifies vendors impacted by the advisory and not specific products. We only support \"known_affected\" and \"known_not_affected\" status. Please consult the vendor's statements and advisory URL if provided by the vendor for more details ","title":"Limitations of Advisory"}],"publisher":{"category":"coordinator","contact_details":"Email: cert@cert.org, Phone: +1412 268 5800","issuing_authority":"CERT/CC under DHS/CISA https://www.cisa.gov/cybersecurity also see https://kb.cert.org/ ","name":"CERT/CC","namespace":"https://kb.cert.org/"},"references":[{"url":"https://certcc.github.io/certcc_disclosure_policy","summary":"CERT/CC vulnerability disclosure policy"},{"summary":"CERT/CC document released","category":"self","url":"https://kb.cert.org/vuls/id/872016"},{"url":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-0796","summary":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-0796"},{"url":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/adv200005","summary":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/adv200005"},{"url":"https://github.com/chompie1337/SMBGhost_RCE_PoC","summary":"https://github.com/chompie1337/SMBGhost_RCE_PoC"}],"title":"Microsoft SMBv3 compression remote code execution vulnerability","tracking":{"current_release_date":"2020-06-04T21:26:29+00:00","generator":{"engine":{"name":"VINCE","version":"3.0.35"}},"id":"VU#872016","initial_release_date":"2020-03-10 00:00:00+00:00","revision_history":[{"date":"2020-06-04T21:26:29+00:00","number":"1.20200604212629.28","summary":"Released on 2020-06-04T21:26:29+00:00"}],"status":"final","version":"1.20200604212629.28"}},"vulnerabilities":[{"title":"A remote code execution vulnerability exists in the way that the Microsoft Server Message Block 3.","notes":[{"category":"summary","text":"A remote code execution vulnerability exists in the way that the Microsoft Server Message Block 3.1.1 (SMBv3) protocol handles certain requests, aka 'Windows SMBv3 Client/Server Remote Code Execution Vulnerability'."}],"cve":"CVE-2020-0796","ids":[{"system_name":"CERT/CC V Identifier ","text":"VU#872016"}],"product_status":{"known_affected":["CSAFPID-a829a880-39d8-11f1-8422-122e2785dc9f"]}}],"product_tree":{"branches":[{"category":"vendor","name":"Microsoft","product":{"name":"Microsoft Products","product_id":"CSAFPID-a829a880-39d8-11f1-8422-122e2785dc9f"}}]}}