Grav CMSでページ編集権限から任意のPHPメソッドを呼び出される脆弱性
概要
Grav CMS 2.0.7から2.0.10では、ブループリントの動的フィールド指定で完全修飾の静的メソッド呼び出しが検証されず、ページ編集権限を持つ利用者が任意の公開静的メソッドを実行できます。これにより、サーバー上の読み取り可能なファイルが閲覧者に公開されたり、任意のファイルやディレクトリが作成・コピーされたりするおそれがあります。2.0.11で修正されているため、2.0.11以降へ更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
getgrav/grav という製品で、CVE-2026-69088 という番号がついた弱点 (脆弱性) が見つかりました。
機密情報が外部に流出する可能性があります。重要度は CVSS スコア 8.1/10 です。
対策: getgrav/grav を 2.0.11 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「getgrav/grav CVE-2026-69088」を検索してください。
CVE-2026-69088 (getgrav/grav) — CWE-94 / CVSS v3 8.1
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 被害者操作不要
修正バージョン: 2.0.11 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
getgrav/grav に 任意コード実行 (CWE-94) があります。
getgrav/grav の影響バージョンはベンダーのアドバイザリで確認してください。
重要度: 重要 (CVSS 8.1/10)。機密情報が外部に流出する可能性があります。
2.0.11 に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1
影響範囲の特定identify
grep -r 'getgrav/grav' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
getgrav/gravを grep し、稼働しているサービス・バージョンを把握する。 -
2
パッチ適用patch
Upgrade getgrav/grav to 2.0.11ステージング環境で 2.0.11 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
事後検証verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| composergetgrav/grav |
2.0.11 未満→ 2.0.11 |
2.0.11 |
| Packagistgetgrav/grav |
2.0.7 以上 2.0.11 未満→ 2.0.11 |
2.0.11 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Summary
Grav CMS's blueprint dynamic-field callable guard can be bypassed with a fully-qualified Class::method string, letting an account with only page-editing rights (admin.pages, not super-admin) plant a directive in a page's form-field frontmatter that invokes an arbitrary public static PHP method with attacker-controlled arguments. Using built-in gadget methods this yields, at minimum, arbitrary reading of any server-readable file (disclosed to anonymous visitors of the crafted page) and arbitrary creation/copying of files and directories under the web-server account.
Details
Blueprint::isSafeDynamicCall() (system/src/Grav/Common/Data/Blueprint.php, method around line 488) is meant to block dangerous callables named in a blueprint's dynamic-field directives (data-*@). It only consults its dangerous-name denylist when the callable string does not contain :::
if (is_string($function) && !str_contains($function, '::') && Utils::isDangerousFunction($function)) {
return false;
}
Any callable string containing :: — i.e. every Class::method static call — skips the check entirely and is passed to call_user_func_array() at Blueprint::dynamicData() (Blueprint.php, around line 461) and FlexDirectory::dynamicDataField() (system/src/Grav/Framework/Flex/FlexDirectory.php, around line 937). There is no allowlist restricting which classes or methods may be invoked this way; only the call's arguments are (separately) scanned for smu…
出典: GitHub Security Advisories (Global) NVD GitHub Advisory
参照URL
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- web github.com
- web vulncheck.com
- web github.com
- web github.com
- web github.com
- web github.com