Erlang/OTPのhttpdで二重のスラッシュを使うとmod_authによる認証を回避される脆弱性
概要
2026年9月にOTPのinets httpdで公表された、mod_authで保護されたディレクトリの認証を回避される脆弱性です。リクエストパスの先頭に余分なスラッシュを付けると認証を求められず、保護されたファイルを読まれるおそれがあります。影響はOTP 17.0から修正前の版までで、修正版としてOTP 27.3.4.17、OTP 28.5.0.6、OTP 29.0.6が公開されています。mod_authで保護のディレクトリを設定している場合は、修正版への更新を急いでください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Erlang/OTP inets httpd という製品で、CVE-2026-66835 という番号がついた弱点 (脆弱性) が見つかりました。
不正な操作・情報露出のリスクがあります。
対策: ベンダー公式の修正版に更新してください。
心配なら、システム担当者や製品の公式サイトで「Erlang/OTP inets httpd CVE-2026-66835」を検索してください。
CVE-2026-66835 (Erlang/OTP inets httpd) — CWE-50
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
Erlang/OTP inets httpd に 脆弱性 (CWE-50) があります。
Erlang/OTP inets httpd の影響バージョンはベンダーのアドバイザリで確認してください。
重要度: ?。不正な操作・情報露出のリスクがあります。
ベンダー公式アドバイザリの修正版に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1
影響範囲の特定identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで Erlang/OTP inets httpd を使っているサービスとバージョンを洗い出す。
-
2
事後検証verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| ErlangOTP |
84adefa331c4159d432d22840663c38f155cd4c1 以上(修正版なし)→ 9641944a2efbf55bea760f8ff7ba777fe3a0961c, bac19eb3dbd96cc49b6d8cabc1c04248bf8c79f6, d8878dec0ececc2eab18e47bb18b472f224ca633 |
9641944a2efbf55bea760f8ff7ba777fe3a0961c, bac19eb3dbd96cc49b6d8cabc1c04248bf8c79f6, d8878dec0ececc2eab18e47bb18b472f224ca633 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- Debian DEBIAN-CVE-2026-66835 erlang 修正版あり
- Ubuntu UBUNTU-CVE-2026-66835 erlang 修正版あり
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Path Equivalence vulnerability in Erlang/OTP inets httpd allows a remote unauthenticated attacker to read files inside a mod_auth protected directory by prefixing the request path with an extra slash.
httpd_request:validate_uri/1 normalises the request URI with uri_string:normalize/1, which performs RFC 3986 dot-segment removal but does not collapse empty path segments, so a doubled slash survives. mod_alias:real_name/3 concatenates the document root with that URI, and mod_auth:secret_path/3 then decides whether the result lies inside a protected directory block by running the configured directory path as an unanchored regular expression against it. The doubled slash breaks the contiguous substring the regex needs, so the request is treated as unprotected and no authentication challenge is issued, while mod_get opens the same path and the operating system collapses the doubled slash and returns the protected file. The same path mismatch also evades the per-path accounting in mod_security.
This issue affects OTP from OTP 17.0 before OTP 27.3.4.17, OTP 28.5.0.6, and OTP 29.0.6, corresponding to inets from 5.10 before 9.3.2.7, 9.6.2.3, and 9.7.2. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.
出典: NIST National Vulnerability Database NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- patch github.com
- web cna.erlef.org
- web osv.dev
- web erlang.org
- web github.com