Groundhogg 4.11以下 - クロスサイトリクエストフォージェリ
元情報の公開:2026/11/26 05:52 / 元情報の更新:2026/11/26 18:33(日本時間)
日本語訳
WordPress用プラグイン「Groundhogg」は、4.11以下のバージョンで、クロスサイトリクエストフォージェリの脆弱性があります。Admin_Page::page()コールバックがnonceを検証せず、$_REQUEST['action']パラメータで直接指定された名前のメソッドを、call_user_func([$this, $action])で呼び出すことが原因です。
唯一のnonceチェックはprocess_action()(admin_init)内にあり、この処理はアクション名の先頭へprocess_を付けてから呼び出します。そのため、攻撃者がaction=process_deleteを指定すると、process_action()は存在しないprocess_process_deleteメソッドを探し、wp_verify_nonce()を呼び出さずに終了します。その後、page()が実際のprocess_delete()を、独自のCSRFトークンなしで呼び出します。process_spam、process_status_change、process_editなど、ほかのprocess_*メソッドも同様です。
認証されていない攻撃者が、サイト管理者、またはdelete_contacts/edit_contactsなど該当するGroundhogg権限を持つユーザーをだましてリンクのクリックなどの操作を行わせると、偽造したリクエストを通じて任意の連絡先を削除し、連絡先のオプトイン状態を変更したり、ほかの状態変更操作を行ったりできます。状態変更には連絡先をスパムとして指定する操作も含まれ、その場合は連絡先のIPアドレスがサイト全体のdisallowed_keysオプションへ追加されます。
原文(英語)
Groundhogg <= 4.11 - Cross-Site Request Forgery
The Groundhogg plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 4.11 This is due to the Admin_Page::page() callback dispatching methods named directly by the $_REQUEST['action'] parameter via call_user_func([$this, $action]) without verifying a nonce: the only nonce check lives in process_action() (admin_init), which prefixes the action with 'process_' before dispatching, so an attacker who supplies action=process_delete causes process_action() to look up the nonexistent 'process_process_delete' method and bail without ever calling wp_verify_nonce(), while page() subsequently invokes the real process_delete() (and other process_* methods such as process_spam, process_status_change, process_edit) with no CSRF token of its own. This makes it possible for unauthenticated attackers to delete arbitrary contacts, change contact opt-in status (including marking contacts as spam, which also appends their IP to the site-wide disallowed_keys option), and perform other state-changing actions via a forged request granted they can trick a site administrator (or any user holding the relevant Groundhogg capability such as delete_contacts/edit_contacts) into performing an action such as clicking on a link.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。