安全研究人员公开了针对 Firecracker microVM 的严重漏洞利用链“PwnEscape Part 2”,成功演示了从客户机到主机的代码执行过程 1。该攻击主要针对未配置 jailer 隔离机制的环境,揭示了此类配置下的潜在安全风险 1。
此次攻击的目标版本为 x86-64 架构上的 Firecracker v1.16.1,运行于 Host kernel 7.0.0-1011-aws 和 Guest kernel 6.18.44+ 的内核环境中 1。攻击者通过识别扩展页表(EPT)根节点的 nonce 模式,进而定位宿主进程的页全局目录(PGD)以及 Firecracker 进程的基址 1。
在获取内存布局信息后,攻击者修改了 vCPU 线程在执行 ioctl(vcpu_fd, KVM_RUN, 0) 期间保存的用户空间寄存器结构 (pt_regs) 1。这一操作重定向了指令指针(RIP),使其指向 write(2) 系统调用包装器,从而劫持控制流 1。最终,主机端捕获到输出字符串 'N8V23M2\n',证实攻击者获得了 Root 级别的任意系统调用执行权 1。
值得注意的是,该攻击具备极高的隐蔽性 1。在完成恶意载荷执行后,攻击者恢复了栈内存和寄存器现场,确保 SSH 连接保持活跃且 Firecracker 进程继续正常运行 1。研究引用了一个示例漏洞编号 CVE-2026-99999 来标识此次演示所涉及的缺陷 1。
Security researchers have disclosed a critical vulnerability exploitation chain, dubbed "PwnEscape Part 2," that enables code execution on the host system from within a Firecracker microVM 1. The attack targets Firecracker version 1.16.1 running on x86-64 architecture and demonstrates how an attacker can escalate privileges to root by manipulating kernel-level memory structures 1. This technique highlights significant risks when the Firecracker jailer is not properly configured 1.
The exploit relies on identifying Extended Page Table (EPT) roots through nonce pattern recognition, which subsequently allows the attacker to locate the host process’s page global directory (PGD) and determine the base address of the Firecracker binary 1. In an environment with a host kernel version 7.0.0-1011-aws and a guest kernel version 6.18.44+, the researchers modified the saved user-space registers (pt_regs) of the vCPU thread during the ioctl(vcpu_fd, KVM_RUN, 0) call 1. This manipulation redirected the instruction pointer (RIP) to a write(2) wrapper, resulting in the successful execution of arbitrary system calls on the host 1.
Proof of concept was established when the host captured the output string 'N8V23M2\n', confirming that the attacker had achieved root-level code execution rights 1. To maintain stealth and ensure the virtual machine remained functional after the breach, the attackers restored the stack memory and register states immediately following the payload delivery 1. Consequently, the SSH connection remained active and the Firecracker process continued to operate normally without crashing or raising immediate alerts 1. The demonstration references CVE-2026-99999, though this identifier is noted as an example used in the original disclosure 1.
评论
还没有评论,欢迎留下第一条。