目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-104259— ModSecurity 移除注释转换失败致 WAF 绕过漏洞

一分钟漏洞结论

影响对象
owasp-modsecurity ModSecurity
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

ModSecurity 是一款开源、跨平台的 Web 应用防火墙(WAF)引擎,适用于 Apache、IIS 和 Nginx。在 2.9.15 和 3.0.17 版本之前, 中的 函数以及 中的 函数在实现 时,会直接复制注释终止符后的下一个字符,而不会对其进行重新评估。因此,相邻的注释可能导致后续注释残留在转换后的值中,从而允许攻击者利用内联注释混淆技术绕过依赖注释剥离的安全规则。此外,当注释终止符位于输入内容的末尾时,该复制操作会读取输入缓冲区之后的一个字节。此问题已在 2.9.15 和 3.0.17 版本中修

CVSS 5.4 · Medium
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-104259 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
ModSecurity: removeComments Transformation Fails to Strip Adjacent Comments, Enabling WAF Rule Bypass
来源: CVE Program / CVE List V5
Vulnerability Description
ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. Prior to 2.9.15 and 3.0.17, msre_fn_removeComments_execute in apache2/re_tfns.c and inplace() in src/actions/transformations/remove_comments.cc implement t:removeComments by copying the character immediately after a comment terminator without re-evaluating it. Adjacent comments can therefore leave a later comment in the transformed value, allowing inline-comment obfuscation to bypass rules that depend on comment stripping. When a comment terminator is the final content, the same copy reads one byte beyond the input buffer. This issue is fixed in versions 2.9.15 and 3.0.17.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
控制流实现总是不正确
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
owasp-modsecurity ModSecurity < 2.9.15 -

二、漏洞 CVE-2026-104259 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-104259 的情报信息

请登录查看更多情报信息。

CVE-2026-104259 其他参考 (5)

同批安全公告 · owasp-modsecurity · 2026-11-09 · 共 3 条

CVE-2026-73857 7.5 HIGH ModSecurity v3 XML 请求处理器未初始化指针解引用漏洞
CVE-2026-61812 6.3 MEDIUM ModSecurity HTML 解码器实体缺失绕过漏洞

IV. Related Vulnerabilities