CVE-2020-1206 | Windows SMBv3信息泄漏缝隙公告

颁布功夫 2020-06-12

0x00 缝隙概述


CVE   ID

CVE-2020-1206

时    间

2020-06-12

类    型

II

等    级

高危

远程利用

是

影响领域


0x01 缝隙详情


宝运莱·(中国区)最新官方网站



微软于周二颁布了6月安全更新补丁,建复了129个缝隙 。其中蕴含一个Windows SMBv3 客户端/服务器信息泄漏缝隙(CVE-2020-1206),钻研人员将其定名为SMBleed 。该缝隙位于SMB的解压缩函数中,与SMBGhost或EternalDarkness缝隙(CVE-2020-0796)位于统一函数中,攻击者利用该缝隙无需身份验证即可远程泄漏内核内存信息,若是与之前爆出的CVE-2020-0796缝隙结合,能够实现远程代码执行 。

要利用针对服务器的缝隙,未经身份验证的攻击者能够将特造数据包发送到指标 SMBv3 服务器 。要利用针对客户端的缝隙,未经身份验证的攻击者将必要配置恶意的 SMBv3 服务器,并说服用户衔接到该服务器 。由于SMB的解压缩函数Srv2DecompressData 在处置发送给指标SMBv3 服务器新闻要求时存在问题,从而使攻击者能够读取未初始化的内核内存并批改压缩职能 。


宝运莱·(中国区)最新官方网站



关于缝隙利用的PoC,参考链接如下:

SMBleed POC:https://github.com/ZecOps/CVE-2020-1206-POC 。

SMBleed与SMBGhost结合的POC: https://github.com/ZecOps/CVE-2020-0796-RCE-POC 。


0x02 影响领域


以下是CVE-2020-1206缝隙受影响的系统版本:

Windows 10 Version 1909 for 32-bit Systems

Windows 10 Version 1909 for x64-based Systems

Windows 10 Version 1909 for ARM64-based Systems

Windows Server, version 1909 (Server Core installation)

Windows 10 Version 1903 for 32-bit Systems

Windows 10 Version 1903 for x64-based Systems

Windows 10 Version 1903 for ARM64-based Systems

Windows Server, version 1903 (Server Core installation)

Windows 10 Version 2004 for ARM64-based Systems

Windows 10 Version 2004 for x64-based Systems

Windows 10 Version 2004 for 32-bit Systems

Windows Server, version 2004 (Server Core installation)


0x03 措置建议


微软已经颁布补丁更新,下载链接:

https://portal.msrc.microsoft.com/zh-CN/security-guidance/advisory/CVE-2020-1206

禁用 SMBv3 压缩

您能够使用以下 PowerShell 号令禁用压缩职能,以阻止未经身份验证的攻击者利用SMBv3服务器的缝隙 。

Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" DisableCompression -Type DWORD -Value 1 -Force

把稳:

1. 进行更改后,无需沉启 。

2. 此解决步骤不能阻止利用 SMB 客户端;�;た突Ф饲氩慰家韵铝唇樱�

https://support.microsoft.com/zh-cn/help/3185535/preventing-smb-traffic-from-lateral-connections

3. Windows 或 Windows Server 尚未使用 SMB 压缩,并且禁用 SMB 压缩不会产生负面的机能影响 。

你能够使用下面的 PowerShell 号令禁用该变通步骤 。

Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" DisableCompression -Type DWORD -Value 0 -Force

把稳:禁用此解决步骤后,无需沉启 。


0x04 有关新闻


https://securityaffairs.co/wordpress/104584/hacking/microsoft-vulnerability-smbleed.html?utm_source=rss&utm_medium=rss&utm_campaign=microsoft-vulnerability-smbleed


0x05 参考链接


https://portal.msrc.microsoft.com/zh-CN/security-guidance/advisory/CVE-2020-1206

https://blog.zecops.com/vulnerabilities/smbleedingghost-writeup-chaining-smbleed-cve-2020-1206-with-smbghost/


0x06 功夫线


2020-06-09 微软更新缝隙补丁

2020-06-12 VSRC颁布缝隙公告


宝运莱·(中国区)最新官方网站