本文へ移動
English version →
高 8.0

Grav ページ編集権限者によりセッションCookieが窃取される恐れ

CVE-2026-100671 SecPulse初出

概要

ページ編集権限のあるユーザーが、Twigサンドボックス経由で管理者のセッションCookieを取得できる脆弱性です。取得された情報がキャッシュされ、未認証の訪問者が管理者としてログインできるおそれがあります。影響を受けるのは2.0.19から2.0.24までのバージョンで、2.0.25で修正されています。2.0.25以降へ速やかに更新してください。

AI要約

SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。

Grav という製品で、CVE-2026-100671 という番号がついた弱点 (脆弱性) が見つかりました。
悪用されるとシステム全体を乗っ取られる可能性があります。重要度は CVSS スコア 8.0/10 です。
対策: Grav を 2.0.25 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「Grav CVE-2026-100671」を検索してください。

CVE-2026-100671 (Grav) — CWE-200 / CVSS v3 8.0
攻撃ベクター: ネットワーク経由 (リモート攻撃可)
修正バージョン: 2.0.25 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。

何が問題か

Grav に 情報漏洩 (CWE-200) があります。

影響範囲

Grav の影響バージョンはベンダーのアドバイザリで確認してください。

重要度

重要度: 重要 (CVSS 8.0/10)。悪用されるとシステム全体を乗っ取られる可能性があります。

修正方法

2.0.25 に更新してください。

暫定回避

修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。

検知方法

Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。

対応アクション

SOC/SREチームが順番に実行すべき具体的なステップとコマンド例

  1. 1
    影響範囲の特定identify
    grep -r 'Grav' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で Grav を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    パッチ適用patch
    Upgrade Grav to 2.0.25

    ステージング環境で 2.0.25 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    事後検証verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

Grav is a flat-file CMS. In versions 2.0.19 through 2.0.24 — and in 2.0.0 through 2.0.18 and 1.7.x only where content Twig has been explicitly enabled — page content authored by a user holding only page-write permission is rendered through a Twig sandbox that allowlists get_cookie(), which returns any cookie sent with the current request, including the visitor's session cookie. Because the read occurs server-side via filter_input(INPUT_COOKIE, ...), the HttpOnly, Secure and SameSite attributes offer no protection. Grav then stores the finished post-Twig output in a page-content cache keyed only on page identity and the configuration checksum, with no session, user or request dimension and no bypass for authenticated visitors. A page published by a page-write user can therefore capture the session identifier of the next administrator who views it, after which the cached output serves that identifier to unauthenticated visitors, who can replay the cookie to authenticate as that administrator. Since 2.0.19, security.twig_content.process_enabled defaults to true and Security::applyTwigContentDefault() derives each page's process.twig flag from that gate, so content Twig runs on every page with no frontmatter or operator action. Fixed in 2.0.25; 1.7.x is outside the backport scope.

出典: NIST National Vulnerability Database NVD GitHub Advisory

参照URL

当サイトでは、アクセス解析と広告の効果測定のためにCookieを使います。株式会社Gameのサイト共通の設定です。 詳しく