Gotenberg 認証不要で内部ネットワークへのサーバー側リクエストを強制される
概要
認証されていない攻撃者が、Webhook用のリクエストヘッダーに細工したURLを指定することで、サーバーに任意の宛先へHTTP POSTを送信させることができます。Gotenberg v8.29.1 から v8.31.0 未満が影響を受け、v8.31.0 で修正されています。v8.31.0 以降へ更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
github.com/gotenberg/gotenberg/v8 という製品で、CVE-2026-39383 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに FilterDeadline のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
機密情報が外部に流出する可能性があります。重要度は CVSS スコア 7.2/10 です。
対策: github.com/gotenberg/gotenberg/v8 を 8.31.0 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「github.com/gotenberg/gotenberg/v8 CVE-2026-39383」を検索してください。
CVE-2026-39383 (github.com/gotenberg/gotenberg/v8) — CWE-918 / CVSS v3 7.2
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 認証不要 / 被害者操作不要
脆弱箇所: FilterDeadline / filter.go / nil / retryablehttp
修正バージョン: 8.31.0 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
github.com/gotenberg/gotenberg/v8 に SSRF (サーバー側リクエスト偽造) (CWE-918) があります。攻撃者は FilterDeadline を経由して脆弱な処理に到達し、認証なしで悪用できます。
github.com/gotenberg/gotenberg/v8 の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: FilterDeadline / filter.go / nil / retryablehttp。
重要度: 重要 (CVSS 7.2/10)。機密情報が外部に流出する可能性があります。
8.31.0 に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1
影響範囲の特定identify
grep -r 'github.com/gotenberg/gotenberg/v8' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/gotenberg/gotenberg/v8を grep し、稼働しているサービス・バージョンを把握する。 -
2
パッチ適用patch
Upgrade github.com/gotenberg/gotenberg/v8 to 8.31.0ステージング環境で 8.31.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
事後検証verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| gogithub.com/gotenberg/gotenberg/v8 |
8.29.1 以上 8.31.0 未満→ 8.31.0 |
8.31.0 |
| Gogithub.com/gotenberg/gotenberg/v7 |
すべての版→ 記載なし |
記載なし |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Gotenberg is an API-based document conversion tool. In version 8.29.1, an unauthenticated attacker with network access can force the server to make outbound HTTP POST requests to arbitrary internal or external destinations by supplying a crafted URL in the Gotenberg-Webhook-Url request header. The FilterDeadline function in filter.go is intended to gate outbound URLs, but when both the allow-list and deny-list are empty (the default configuration), it returns nil unconditionally and permits any URL.
This is a blind SSRF: Gotenberg POSTs the converted document to the webhook URL and only checks whether the response status code is an error, but never returns the target's response body to the attacker. An attacker can use this to probe internal network infrastructure by observing whether the error callback is invoked, force POST requests against internal services that perform side effects, and confirm reachability of cloud metadata endpoints. The retryable HTTP client issues up to 4 automatic retries per request, amplifying each probe.
This issue has been fixed in version 8.31.0. As a workaround, configure the GOTENBERG_API_WEBHOOK_ALLOW_LIST environment variable to restrict webhook URLs to known receivers, or set GOTENBERG_API_WEBHOOK_DENY_LIST to block RFC-1918 and link-local address ranges.
出典: NIST National Vulnerability Database NVD GitHub Advisory
参照URL
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- web github.com
- web github.com