Microsoft Remote Procedure Call Runtime 远程代码执行漏洞(CVE-2022-26809)
CVE-2022-26809 RCE
CVE 描述
CVE-2022-26809 - 核心 Windows 组件 (RPC) 的弱点获得 9.8 的 CVSS 分数并非没有原因,因为攻击不需要身份验证并且可以通过网络远程执行,并且可能导致远程代码执行 ( RCE) 具有 RPC 服务的权限,这取决于托管 RPC 运行时的进程。运气好的话,这个严重的错误允许访问运行 SMB 的未打补丁的 Windows 主机。该漏洞既可以从网络外部被利用以破坏它,也可以在网络中的机器之间被利用。
https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-26809
https://www.pwndefend.com/2022/04/14/cve-2022-26809/
影响范围
测试易受攻击的主机:
- Microsoft Microsoft Windows RT 8.1
- Microsoft Microsoft Windows 8.1 for x64-based systems
- Microsoft Microsoft Windows 8.1 for 32-bit systems
- Microsoft Microsoft Windows 7 for x64-based Systems SP1
- Microsoft Microsoft Windows 7 for 32-bit Systems SP1
- Microsoft Microsoft Windows 10 for x64-based Systems
- Microsoft Microsoft Windows 10 for 32-bit Systems
- Microsoft Microsoft Windows 10 21H2 for x64-based Systems
- Microsoft Microsoft Windows 10 21H2 for ARM64-based Systems
- Microsoft Microsoft Windows 10 21H2 for 32-bit Systems
- Microsoft Microsoft Windows 10 21H1 for x64-based Systems
- Microsoft Microsoft Windows 10 21H1 for ARM64-based Systems
- Microsoft Microsoft Windows 10 21H1 for 32-bit Systems
- Microsoft Microsoft Windows 10 20H2 for x64-based Systems
- Microsoft Microsoft Windows 10 20H2 for ARM64-based Systems
- Microsoft Microsoft Windows 10 20H2 for 32-bit Systems
- Microsoft Microsoft Windows 10 1909 for x64-based Systems
- Microsoft Microsoft Windows 10 1909 for ARM64-based Systems
- Microsoft Microsoft Windows 10 1909 for 32-bit Systems
- Microsoft Microsoft Windows 10 1809 for x64-based Systems
- Microsoft Microsoft Windows 10 1809 for ARM64-based Systems
- Microsoft Microsoft Windows 10 1809 for 32-bit Systems
- Microsoft Microsoft Windows 10 1607 for x64-based Systems
- Microsoft Microsoft Windows 10 1607 for 32-bit Systems
- Microsoft Microsoft Windows 11 for x64-based Systems
- Microsoft Microsoft Windows 11 for ARM64-based Systems
- Microsoft Microsoft Windows Server 20H2(Server Core Installation)
- Microsoft Microsoft Windows Server 2022(Server Core installation)
- Microsoft Microsoft Windows Server 2022
- Microsoft Microsoft Windows Server 2019(Server Core installation)
- Microsoft Microsoft Windows Server 2019
- Microsoft Microsoft Windows Server 2016(Server Core installation)
- Microsoft Microsoft Windows Server 2016
- Microsoft Microsoft Windows Server 2012(Server Core installation)
- Microsoft Microsoft Windows Server 2012 R2(Server Core installati
- Microsoft Microsoft Windows Server 2012 R2
- Microsoft Microsoft Windows Server 2012
- Microsoft Microsoft Windows Server 2008 R2 for x64-based Systems
- Microsoft Microsoft Windows Server 2008 R2 for x64-based Systems
- Microsoft Microsoft Windows Server 2008 for x64-based Systems SP2
- Microsoft Microsoft Windows Server 2008 for x64-based Systems SP2
- Microsoft Microsoft Windows Server 2008 for 32-bit Systems SP2(Se
- Microsoft Microsoft Windows Server 2008 for 32-bit Systems SP2
几乎所有运行 SMB 并开放 445 端口的构建都会受到影响。
漏洞定位
CVE 表示,漏洞位于 Windows RPC 运行时中,该运行时在名为 rpcrt4.dll 的库中实现。该运行时库被加载到使用 RPC 协议进行通信的客户端和服务器进程中。我们比较了版本 10.0.22000.434(3 月)和 10.0.22000.613(已修补)并挑选出更改列表。
OSF_SCALL::ProcessResponse 和 OSF_CCALL::ProcessReceivedPDU 函数本质上是相似的;两者都处理 RPC 数据包,但一个在服务器端运行,另一个在客户端运行(SCALL 和 CCALL)。通过区分 OSF_SCALL::ProcessReceivedPDU,我们注意到新版本中添加了两个代码块。
查看修补后的代码,我们看到在 QUEUE::PutOnQueue 之后调用了一个新函数。检查新函数并深入研究它的代码,我们发现它检查整数溢出。换句话说,patch 中的新函数被添加来验证整数变量是否保持在预期值范围内。
深入研究 OSF_SCALL:GetCoalescedBuffer 中的易受攻击代码,我们注意到整数溢出错误可能导致堆缓冲区溢出,其中数据被复制到太小而无法填充的缓冲区。这反过来又允许在堆上将数据写入缓冲区边界之外。当被利用时,这个原语会导致我们远程执行代码!
在其他函数中也添加了相同的用于检查整数溢出的调用:
OSF_CCALL::ProcessResponse OSF_SCALL::GetCoalescedBuffer OSF_CCALL::GetCoalescedBuffer
整数溢出漏洞和防止它的功能存在于客户端和服务器端执行流程中。
漏洞分析
https://www.youtube.com/watch?v=GGlwy3_jVYE
CVE-2022-26809 PoC
CVE-2022-26809 EXP
自行购买
https://satoshidisk.com/pay/CFNsN8
修复建议
以下缓解措施基于 Microsoft 的官方建议和我们的工作:
- 应用最新的安全更新!
- 建议阻止外围设备的 TCP 端口 445 的流量!
- 仅在需要的机器上允许传入的 TCP 端口 445 !
Microsoft Remote Procedure Call Runtime 远程代码执行漏洞(CVE-2022-26809)相关推荐
- php x24 x65 x6d x61,Jboss远程代码执行漏洞CVE:2013-4810获得system权限
此方法成功的渗透至Windows系统并获得最高权限exp 此方法成功的渗透至Windows系统并获得最高权限 exp ?php/*Apache Tomcat/JBoss EJBInvokerServl ...
- CVE-2021-1675: Windows Print Spooler远程代码执行漏洞
** 赶紧点击上方话题进行订阅吧!** 报告编号:B6-2021-062902 报告来源:360CERT 报告作者:360CERT 更新日期:2021-06-29 1 漏洞简述 2021年06月29日 ...
- CVE-2018-8174 IE浏览器远程代码执行漏洞
0x00漏洞简介 在2018年5月9日的时候360发表了一份apt攻击分析及溯源报告 文中提到了cve-2018-8174这个漏洞的首次在apt方面的应用 原文地址:http://www.4hou.c ...
- 网络安全预警通报:更新微软远程代码执行漏洞补丁
新浪数码讯1月17日下午消息,北京网络与信息安全信息通报中心通报,近日,微软公司(MicroSoft)官方发布了三个远程代码执漏洞的安全更新补丁.其中包括Microsoft Exchange软件的内存 ...
- 【安全风险通告】Spring Framework远程代码执行漏洞(CVE-2022-22965)安全风险通告第二次更新...
奇安信CERT 致力于第一时间为企业级用户提供安全风险通告和有效解决方案. 安全通告 近日,奇安信CERT监测到Spring Framework存在远程代码执行漏洞(CVE-2022-22965),在 ...
- Splunk Enterprise远程代码执行漏洞(CVE-2022-43571)安全风险通告
奇安信CERT 致力于第一时间为企业级用户提供安全风险通告和有效解决方案. 安全通告 Splunk Enterprise是机器数据的引擎.使用Splunk可收集.索引和利用所有应用程序.服务器和设备生 ...
- CVE-2021-1647:Microsoft Defender远程代码执行漏洞通告
报告编号:B6-2021-011301 报告来源:360CERT 报告作者:360CERT 更新日期:2021-01-13 0x01漏洞简述 2021年01月13日,360CERT监测发现Micros ...
- 服务器2008操作系统漏洞,【操作系统安全漏洞 】解决CVE-2017-11780:Microsoft Windows SMB Server远程代码执行漏洞...
一.漏洞描述 2017年10月10日,微软漏洞补丁日修复了多个安全漏洞,其中一个为Microsoft WindowsSMB Server远程执行代码漏洞,根据官方描述该漏洞如果被成功利用,远程攻击者可 ...
- CVE-2020-16875: Microsoft Exchange远程代码执行漏洞通告
https://mp.weixin.qq.com/s/-Yo_EH30qJQbRRIk_1MK1g 360CERT 三六零CERT 9月9日 报告编号:B6-2020-090902 报告来源:360C ...
最新文章
- 当NLPer爱上CV:后BERT时代生存指南之VL-BERT篇
- python脚本根据cookies自动登录网站_Python爬虫如何使用Cookies登录网站
- 超经典,百度最爱考的安卓Android百题
- 论文浅尝 | 主题感知的问答生成
- 200多位大牛!2019两院院士拟推荐候选人最新名单
- 基础练习 高精度加法(蓝桥杯 java)
- h5页面生成图片分享到微信js_html2canvas 动态生成微信分享海报的优质js库
- [Python教程] 一只乌龟其实也很酷 (1、动起来)
- 分页内存与非分页内存导致的蓝屏死机问题
- 使用java jpcap实现网络嗅探器
- itext 生成 PDF(一)
- python开发本地WEB项目
- win10下载c语言软件下载,Win tc win10
- 编写程序,生成一种贯穿10×10字符数组(初始时全为字符‘.‘)的“随机步法”。
- C# 通过UDP 远程监控摄像头
- 云文件服务器备份功能,自动备份云服务器的文件
- 中铁汇达保险经纪保单计算个人理解
- vue 封装饿了么文件上传组件实现图片上传
- 一月到十二月的英文简写和英文单词
- 7000字详解数据指标体系建设实践