Heimdallで転送ヘッダーの未検証により送信元IPを偽装される
概要
Heimdall の転送ヘッダー処理に不備があり、Forwarded や X-Forwarded-For に不正な値を入れることで、クライアントの IP アドレスを偽装される可能性があります。影響を受けるのはバージョン 0.17.17 より前の版で、0.17.17 で修正されています。0.17.17 以降へ更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
https://github.com/dadrus/heimdall という製品で、CVE-2026-57210 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに trusted_proxies のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
不正な操作・情報露出のリスクがあります。
対策: https://github.com/dadrus/heimdall を 0.17.17 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「https://github.com/dadrus/heimdall CVE-2026-57210」を検索してください。
CVE-2026-57210 (https://github.com/dadrus/heimdall) — CWE-116
脆弱箇所: trusted_proxies / Forwarded / Request.ClientIPAddresses / unknown
修正バージョン: 0.17.17 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
https://github.com/dadrus/heimdall に 脆弱性 (CWE-116) があります。攻撃者は trusted_proxies を経由して脆弱な処理に到達できます。
https://github.com/dadrus/heimdall の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: trusted_proxies / Forwarded / Request.ClientIPAddresses / unknown。
重要度: ?。不正な操作・情報露出のリスクがあります。
0.17.17 に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1
影響範囲の特定identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで https://github.com/dadrus/heimdall を使っているサービスとバージョンを洗い出す。
-
2
パッチ適用patch
Upgrade https://github.com/dadrus/heimdall to 0.17.17ステージング環境で 0.17.17 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
事後検証verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| gohttps://github.com/dadrus/heimdall |
0.17.17 未満→ 0.17.17 |
0.17.17 |
| Gogithub.com/dadrus/heimdall |
0.17.17 未満→ 0.17.17 |
0.17.17 |
| dadrusheimdall | — | 記載なし |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Heimdall is a cloud native Identity Aware Proxy and Access Control Decision service. Prior to version 0.17.17, when the trusted_proxies option is configured, heimdall extracts client IP addresses from the Forwarded (for= parameter) and X-Forwarded-For headers and exposes them as Request.ClientIPAddresses to the rule pipeline. However, extracted values are not validated to be syntactically valid IP addresses. Arbitrary strings, malformed IP literals, and RFC 7239 unknown values and obfuscated identifiers are accepted without further checks. In addition, the Forwarded header parser splits on , and ; without accounting for RFC 7239 quoted strings, which can cause a single quoted value to be parsed as multiple entries, with fragments — including trailing quote characters — treated as independent addresses. This issue has been patched in version 0.17.17.
出典: GitHub Security Advisories (Global) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- web github.com
- web github.com