【缝隙公告】Windows Remote Desktop Licensing Service远程代码执行缝隙(CVE-2024-38077)

颁布功夫 2024-08-09

一、缝隙概述

缝霞称

Windows Remote Desktop Licensing Service远程代码执行缝隙

CVE   ID

CVE-2024-38077

缝隙类型

缓冲区溢出

发现功夫

2024-07-10

缝隙评分

9.8

缝隙等级

严沉

攻击向量

网络

所需权限

无

利用难度

低

用户交互

无

PoC/EXP

未公开

在野利用

未发现

 

Windows Remote Desktop Licensing Service(RDL)是Windows Server的一个组件,用于节造和治理远程桌面会话的许可,确保只有占有有效许可的用户能力通过远程桌面和谈(RDP)衔接到服务器。

2024年7月10日,宝运莱官方网站集团VSRC监测到微软7月安全更新建复了Windows Remote Desktop Licensing Service远程代码执行缝隙(CVE-2024-38077,被称为“MadLicense”),该缝隙的CVSS评分为9.8。

Windows 远程桌面授权服务中存在堆缓冲区溢露马脚,由于在解码用户输入的许可密钥包时不足正确的缓冲区大幼查抄,导致解码后出现缓冲区溢出,当Windows Server开启远程桌面授权服务(非默认启用)时,未经身份验证的威胁者可发送恶意新闻利用该缝隙,成功利用可能导致远程代码执行。

 

二、影响领域

Windows Server 2012 R2 (Server Core installation)

Windows Server 2012 R2

Windows Server 2012 (Server Core installation)

Windows Server 2012

Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation)

Windows Server 2008 R2 for x64-based Systems Service Pack 1

Windows Server 2008 for x64-based Systems Service Pack 2 (Server Core installation)

Windows Server 2008 for x64-based Systems Service Pack 2

Windows Server 2008 for 32-bit Systems Service Pack 2 (Server Core installation)

Windows Server 2008 for 32-bit Systems Service Pack 2

Windows Server 2016 (Server Core installation)

Windows Server 2016

Windows Server 2022, 23H2 Edition (Server Core installation)

Windows Server 2022 (Server Core installation)

Windows Server 2022

Windows Server 2019 (Server Core installation)

Windows Server 2019


三、安全措施

3.1 升级版本

目前微软已颁布了该缝隙的安全更新,建议受影响的用户尽快建复。

(一) Windows Update自动更新

Microsoft Update默认启用,当系统检测到可用更新时,将会自动下载更新并鄙人一次启动时装置。也可选择通过以下步骤手动进行更新:

1、点击“起头菜单”或按Windows快捷键,点击进入“设置”

2、选择“更新和安全”,进入“Windows更新”(Windows 8、Windows 8.1、Windows Server 2012以及Windows Server 2012 R2可通过节造面板进入“Windows更新”,具体步骤为“节造面板”->“系统和安全”->“Windows更新”)

3、选择“查抄更新”,期待系统自动查抄并下载可用更新。

4、更新实现后沉启推算机,可通过进入“Windows更新”->“查看更新汗青纪录”查看是否成功装置了更新。对于没有成功装置的更新,能够点击该更新名称进入微软官方更新描述链接,点击最新的SSU名称并在新链接中点击“Microsoft 更新目录”,而后在新链接当选择合用于指标系统的补丁进行下载并装置。

(二) 手动装置更新

Microsoft官方下载相应补丁进行更新。

下载链接:

https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2024-38077

3.2 一时措施

该缝隙会影响启用了Windows Remote Desktop Licensing Service的Windows Server,Windows PC不受影响。

1.默认情况下,Windows Server 不会装置 Remote Desktop Licensing 服务,可通过验证Remote Desktop Licensing服务是否启动,有关补丁是否未装置来判断是否易受该缝隙影响。

如非必要,可禁用Remote Desktop Licensing服务作为缓解措施,但这可能会影响远程桌面某些职能(可能不会直接导致RDP衔接失败,但由于授权验证的缺失,可能会引发其他与授权有关的谬误或问题)。此表,Microsoft建议受影响用户装置该缝隙的安全更新,即便打算禁用Remote Desktop Licensing服务。

2.此表,可通过查看lserver.dll(Windows 远程桌面授权服务器的一个关键组件,通常位于C:\Windows\System32\lserver.dll)文件版本,参考下表确定是否为易受攻击版本,可使用以下多种方式查看该文件版本:

l  文件属性查看,找到C:\Windows\System32\lserver.dll,右键点击 lserver.dll 文件,选择“属性”,在属性窗口中,点击“具体信息”选项卡,在“具体信息”选项卡下,可看到“文件版本”和“产品版本”信息。

l  使用Powershell查看文件版本,PowerShell中执行以下号令:

(Get-Item "C:\Windows\System32\lserver.dll").VersionInfo

l  在CMD 中挪用PowerShell 号令来获取文件版本信息:

powershell -command "(Get-Item 'C:\\Windows\\System32\\lserver.dll').VersionInfo.FileVersion"

受影响系统

平台

受影响版本

不受影响版本

Windows Server 2019

x64-based Systems

10.0.0 - 10.0.17763.6054之前

10.0.17763.6054

Windows Server 2019 (Server Core installation)

x64-based Systems

10.0.0 -10.0.17763.6054之前

10.0.17763.6054

Windows Server 2022

x64-based Systems

10.0.0 -10.0.20348.2582之前

10.0.20348.2582

Windows Server 2022,23H2 Edition (Server Core   installation)

x64-based Systems

10.0.0 - 10.0.25398.1009之前

10.0.25398.1009

Windows Server 2016

x64-based Systems

10.0.0 -10.0.14393.7159之前

10.0.14393.7159

Windows Server 2016 (Server Core installation)

x64-based Systems

10.0.0 -10.0.14393.7159之前

10.0.14393.7159

Windows Server 2008 Service Pack 2

32-bit Systems

6.0.0 - 6.0.6003.22769之前

6.0.6003.22769

Windows Server 2008 Service Pack 2 (Server Core   installation)

32-bit Systems、x64-based Systems

6.0.0 - 6.0.6003.22769之前

6.0.6003.22769

Windows Server 2008 Service Pack 2

x64-based Systems

6.0.0 - 6.0.6003.22769之前

6.0.6003.22769

Windows Server 2008 R2 Service Pack 1

x64-based Systems

6.1.0 - 6.1.7601.27219之前

6.1.7601.27219

Windows Server 2008 R2 Service Pack 1 (Server   Core installation)

x64-based Systems

6.0.0 - 6.1.7601.27219之前

6.1.7601.27219

Windows Server 2012

x64-based Systems

6.2.0 - 6.2.9200.24975之前

6.2.9200.24975

Windows Server 2012 (Server Core installation)

x64-based Systems

6.2.0 - 6.2.9200.24975之前

6.2.9200.24975

Windows Server 2012 R2

x64-based Systems

6.3.0 - 6.3.9600.22074之前

6.3.9600.22074

Windows Server 2012 R2 (Server Core installation)

x64-based Systems

6.3.0 - 6.3.9600.22074之前

6.3.9600.22074

3.3 通用建议

l  定期更新系统补丁,削减系统缝隙,提升服务器的安全性。

l  加强系统和网络的接见节造,批改防火墙战术,关关非必要的利用端口或服务,削减将危险服务(如SSH、RDP等)露出到公网,削减攻击面。

l  使用企业级安全产品,提升企业的网络安全机能。

l  加强系统用户和权限治理,启用多成分认证机造和最幼权限准则,用户和软件权限应维持在最低限度。

l  启用强密码战术并设置为定期批改。

3.4 参考链接

https://msrc.microsoft.com/update-guide/releaseNote/2024-Jul

https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2024-38077

https://sites.google.com/site/zhiniangpeng/blogs/MadLicense


 

四、版本信息

版本

日期

备注

V1.0

2024-08-09

初次颁布

V1.1

2024-08-09

更新PoC状态、缓解措施等

 


五、附录

5.1 宝运莱官方网站简介

宝运莱官方网站成立于1996年,是由留美博士严望佳女士创建的、占有齐全自主知识产权的信息安全高科技企业。是国内最具实力的信息安全产品、安全服务解决规划的领航企业之一。

公司总部位于北京市中关村软件园宝运莱官方网站大厦,公司员工6000余人,研发团队1200余人, 技术服务团队1300余人。在全国各省、视注自治区设立分支机构六十多个,占有覆盖全国的销售系统、渠路系统和技术支持系统。公司于2010年6月23日在丽江中幼板挂牌上市。(股票代码:002439)

多年来,宝运莱官方网站致力于提供拥有国际竞争力的自主创新的安全产品和最佳实际服务,援手客户全面提升其IT基础设施的安全性和出产效力,为打造和提升国际化的民族信息安全产业领军品牌而不懈致力。

5.2 关于宝运莱官方网站

宝运莱官方网站安全应急响应中心已颁布1000多个缝隙公告微风险预警,我们将持续跟踪全球最新的网络安全事务和缝隙,为企业的信息安全保驾护航。

关注我们:

image.png