【漏洞通告】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多個漏洞通告和風險預警,我們將持續跟蹤全球最新的網絡安全事件和漏洞,為企業的信息安全保駕護航。
關注我們: