AutomatorWP 6.0.4以下 - 匿名自動化の'Role'オプションでの不十分なロール検証による認証不要の権限昇格

元情報の公開:2026/11/07 08:15 / 元情報の更新:2026/11/07 20:26(日本時間)

日本語訳

WordPress用プラグイン「AutomatorWP – No-Code Workflow Automation, Integration & Webhooks Plugin, now with AI」の6.0.4以下のすべてのバージョンには、権限昇格の脆弱性があります。原因は、匿名利用者アクション内のcreate_user()関数と、同様にWordPress連携のCreate UserおよびAdd/Change Roleアクションで、権限の上限の検証が欠けていることです。これらはautomatorwp_get_editable_roles()を通じて送信されたロールが存在することだけを確認し、実行コンテキストの権限レベル以下であることを確認しません。そのため、攻撃者が制御するトリガータグのデータ(例えばRoleオプションに紐付いた{comment_author}タグ)から、administratorを含む任意のロールを拒否されずに指定できます。

これにより、認証されていない攻撃者は、攻撃者が制御するメールアドレスに紐付いた新しい管理者ロールのアカウントを作成できます。生成されたパスワードをWordPressの新規ユーザー通知メールで受け取ることで、サイトへの完全な管理者アクセスを得られます。

悪用には、サイトで匿名自動化が設定され、Roleオプションが{comment_author}などの動的トリガータグに紐付いている必要があります。サイト管理者がコメントを承認するという通常の操作を行うと発動します。この操作がコメント投稿者のフィールドから新しい特権アカウントを作成することは、画面上には一切示されません。

原文(英語)

AutomatorWP <= 6.0.4 - Unauthenticated Privilege Escalation to Insufficient Role Validation in Anonymous Automation 'Role' Option

The AutomatorWP – No-Code Workflow Automation, Integration & Webhooks Plugin, now with AI plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 6.0.4. This is due to missing privilege-ceiling validation in the `create_user()` function within the anonymous-user action (and equally in the Create User and Add/Change Role WordPress-integration actions), which verify only that the submitted role exists via `automatorwp_get_editable_roles()` without confirming the role falls at or below the acting context's privilege level — allowing attacker-controlled trigger tag data (e.g., a `{comment_author}` tag bound to the Role option) to supply any role, including `administrator`, unchallenged. This makes it possible for unauthenticated attackers to create a new administrator-role account tied to an attacker-controlled email address, receiving the generated password via WordPress's new-user notification email and thereby gaining full administrative access to the site. Exploitation requires the site to have an anonymous automation configured with the Role option bound to a dynamic trigger tag such as `{comment_author}`, and is triggered when a site administrator performs the routine action of approving a comment — an action that provides no in-UI indication that it will mint a new privileged account from the comment author field.

引用元:Wordfence

確認と対応の進め方

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

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

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

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

運営元KanriPressのサービス案内

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

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

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