CubeWP Framework 1.1.32以下 - user_has_capフィルターを介した認証済みの購読者以上による限定的な権限昇格
元情報の公開:2026/11/26 05:40 / 元情報の更新:2026/11/26 18:33(日本時間)
日本語訳
WordPress用プラグイン「CubeWP Framework」は、1.1.32以下のすべてのバージョンで、権限昇格の脆弱性があります。user_has_capフィルターに登録されたcubewp_frontend_role_caps()関数は、REST_REQUESTによる条件判定でREST APIリクエストを除外しますが、対応するXMLRPC_REQUESTの確認を行いません。そのため、XML-RPCとadmin-ajax.phpのリクエスト経路では、すべての購読者や寄稿者の権限を無条件に拡大します。
購読者以上の権限を持つ認証済みの攻撃者が、寄稿者ロールのすべての権限へ昇格できます。edit_posts、delete_posts、readを取得し、wp.newPostなどコアのXML-RPCメソッドで投稿を作成・編集・削除できるようになります。
特に、この権限拡大はCubeWP独自の送信ハンドラーに限定されず、影響を受けるリクエスト経路上の、コアのすべての権限確認へ広く適用されます。そのため、購読者アカウントであれば、CubeWP固有の操作をせず、標準のXML-RPC呼び出し1回だけで悪用できます。悪用が成功すると、攻撃者自身のアカウントに寄稿者ロールで定義されたすべての権限が付与されます。
原文(英語)
CubeWP Framework <= 1.1.32 - Authenticated (Subscriber+) Limited Privilege Escalation via 'user_has_cap' Filter
The CubeWP Framework plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 1.1.32 This is due to the `cubewp_frontend_role_caps()` function, registered on the `user_has_cap` filter, which excludes REST API requests via a `REST_REQUEST` guard but omits a corresponding `XMLRPC_REQUEST` check, causing it to unconditionally widen capabilities for any Subscriber or Contributor on XML-RPC and admin-ajax.php request paths. This makes it possible for authenticated attackers with Subscriber-level access and above to escalate their privileges to the full Contributor role capability set — gaining `edit_posts`, `delete_posts`, and `read` — allowing them to create, edit, and delete posts through core XML-RPC methods such as `wp.newPost`. Critically, the capability widening is not scoped to CubeWP's own submission handlers but applies globally to all core capability gates on affected request paths, meaning any Subscriber account can exploit this with a single standard XML-RPC call and no CubeWP-specific interaction. Successful exploitation causes the attacker's own account to receive every capability defined for the Contributor role.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。