Forminator Forms 1.58.3以前 — マージタグ挿入を介した認証不要のアカウント承認回避

元情報の公開:2026/11/26 21:23 / 元情報の更新:2026/11/27 10:33(日本時間)

日本語訳

WordPressプラグイン「Forminator Forms」の1.58.3以前のすべてのバージョンには、forminator_replace_custom_form_data()関数を介したアカウント承認回避の脆弱性があります。この関数は{account_approval_link}より先に{all_fields}マージタグを展開します。そのため、送信者が指定したフィールド値に{account_approval_link}という文字列そのものが含まれていると、ユーザー向けの確認メール内で、秘密の有効化キーを含む実際の有効化URLへ置き換わります。

これにより、認証されていない攻撃者が、自分の承認待ち登録の有効化リンクを取得し、?page=account_activation&key=エンドポイントを通じてアカウントを有効化できます。登録フォームに設定された手動承認を回避できます。

悪用には、手動承認が有効なユーザー登録フォームと、{all_fields}マージタグを含むユーザー確認メールが必要です。このタグは既定のメールテンプレートに含まれます。サイト登録が有効なWordPressマルチサイトでは、自ら有効化したアカウントは、登録時に作成されたサブサイトの管理者にもなります。

原文(英語)

Forminator Forms <= 1.58.3 - Unauthenticated Account Approval Bypass via Merge Tag Injection

The Forminator Forms plugin for WordPress is vulnerable to Account Approval Bypass in all versions up to, and including, 1.58.3 via the forminator_replace_custom_form_data() function. This is due to the function expanding the {all_fields} merge tag before {account_approval_link}, so a submitter-supplied field value containing the literal string {account_approval_link} is resolved into the real activation URL, including the secret activation key, in the user confirmation email. This makes it possible for unauthenticated attackers to obtain the activation link for their own pending registration and activate the account via the ?page=account_activation&key= endpoint, bypassing the manual approval configured on the registration form. Exploitation requires a user-registration form with manual approval enabled and a user confirmation email that includes the {all_fields} merge tag (the default template). Note: On WordPress Multisite installations with site registration enabled, the self-activated account also becomes the Administrator of the subsite created during registration.

引用元:Wordfence

確認と対応の進め方

WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。

影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。

更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。

プラグインの管理・更新方法(WordPress公式・日本語)

運営元KanriPressのサービス案内

サイトを守る備えを、今日から始めませんか。

「KanriPress WP Sakimori」は、ファイアウォールと仮想パッチで攻撃に備え、マルウェア検査と継続監視でサイトの異変を捉えます。毎日のバックアップで万一に備え、月次レポートで保護・監視の状況も確認。日々の管理負担を抑えながらWordPressを守る仕組みを、月額2,200円(税込)で導入できます。

サービス内容・料金を見る