
POC for CVE-2022-21907: HTTP Protocol Stack Remote Code Execution Vulnerability.
CVE-2022-21907 的 PoC:HTTP 协议栈远程代码执行漏洞。
Malwareman 于 2022-09-17 创建。
HTTP 协议栈远程代码执行漏洞。
类似于 [[https://github.com/antx-code/CVE-2021-31166][CVE-2021-31166]]。
该问题自去年在 [[https://github.com/antx-code/CVE-2021-31166][CVE-2021-31166]] 中报告以来一直存在,至今仍未修复。
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: HIGH
confidentialityImpact: HIGH
integrityImpact: HIGH
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: NONE
version: 3.1
baseScore: 9.8
baseSeverity: CRITICAL
Windows
10 Version 1809 for 32-bit Systems
10 Version 1809 for x64-based Systems
10 Version 1809 for ARM64-based Systems
10 Version 21H1 for 32-bit Systems
10 Version 21H1 for x64-based System
10 Version 21H1 for ARM64-based Systems
10 Version 20H2 for 32-bit Systems
10 Version 20H2 for x64-based Systems
10 Version 20H2 for ARM64-based Systems
10 Version 21H2 for 32-bit Systems
10 Version 21H2 for x64-based Systems
10 Version 21H2 for ARM64-based Systems
11 for x64-based Systems
11 for ARM64-based Systems
Windows Server
2019
2019 (Core installation)
2022
2022 (Server Core installation)
version 20H2 (Server Core Installation)
[[./CVE-2022-21907.py][Poc]]
Windows Server 2019 和 Windows 10 版本 1809 在默认情况下不易受攻击。除非您通过 EnableTrailerSupport 注册表值启用了 HTTP Trailer Support,否则系统不会受到影响。
如果存在 DWORD 注册表值 "EnableTrailerSupport",请将其删除,路径位于:
#+begin_src bash
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters
#+end_src
此缓解措施仅适用于 Windows Server 2019 和 Windows 10 版本 1809,不适用于 Windows 20H2 及更新版本。
攻击者如何利用此漏洞?
在大多数情况下,未经身份验证的攻击者可以向使用 HTTP 协议栈 (http.sys) 处理数据包的目标服务器发送特制的数据包。
此漏洞可蠕虫传播吗?
是的。Microsoft 建议优先修补受影响的服务器。
Windows 10 版本 1909 不在安全更新表中。它是否受此漏洞影响?
否,Windows 10 版本 1909 中不存在易受攻击的代码。它不受此漏洞影响。
EnableTrailerSupport 注册表键是否存在于除 Windows Server 2019 和 Windows 10 版本 1809 之外的其他平台?
否,该注册表键仅存在于 Windows Server 2019 和 Windows 10 版本 1809 中。
风险参考
[[https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2022-21907][HTTP 协议栈远程代码执行漏洞]]
[[https://nvd.nist.gov/vuln/detail/CVE-2022-21907][NVD<CVE-2022-21907>]]