ModSecurityでRFC 2231のfilename*を悪用され、WAFの検査を回避される脆弱性
Summary
2026年10月24日に公表された、ModSecurityのマルチパート解析の脆弱性です。ファイル名の指定を使い分けることで、WAFの検査で見えるファイル名と、Go・Python・Node.js・Javaなどのアプリケーションが実際に使うファイル名を食い違わせられます。3.0.0から3.0.17までが対象で、修正版の3.0.17で修正されています。ModSecurityを利用している場合は、3.0.17へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
2026年10月24日に公表された、ModSecurityのマルチパート解析の脆弱性です。ファイル名の指定を使い分けることで、WAFの検査で見えるファイル名と、Go・Python・Node.js・Javaなどのアプリケーションが実際に使うファイル名を食い違わせられます。3.0.0から3.0.17までが対象で、修正版の3.0.17で修正されています。ModSecurityを利用している場合は、3.0.17へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| owasp-modsecurityModSecurity | — | Not listed |
| Bitnamimodsecurity |
≥ 3.0.0, < 3.0.17→ 3.0.17 |
3.0.17 |
| Bitnamimodsecurity2 |
≥ 3.0.0, < 3.0.17→ 3.0.17 |
3.0.17 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-104269 modsecurity-apache, modsecurity No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-104269 modsecurity-apache, modsecurity No fixed version in this record
Original description The description as published by the source.
ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. From 3.0.0 until 3.0.17, ModSecurity's multipart parser does not apply the RFC 2231 filename* parameter precedence used by common Go, Python, Node.js, and Java application parsers. A Content-Disposition header can provide a benign filename parameter for ModSecurity and a different encoded filename* value that the backend prefers, causing MULTIPART_FILENAME rules and the application to make security decisions on different names. Applications that use the backend-selected name for storage, extension checks, or content-type inference can therefore receive a filename that bypassed WAF inspection. PHP's native multipart parser is not affected by this discrepancy. This issue is fixed in version 3.0.17.
Source: Amazon Linux 2 Security Advisories NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- ALAS-2 ALAS2-2026-4010 (important): mod_security
- patch github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web github.com