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宣布误差通告


尊龙凯时 - 人生就是搏!