Nexter Blocks Pro 5.0.10以下 - tpgb_acf_keyパラメータのUnicode照合の混同による認証不要の権限昇格
元情報の公開:2026/11/20 09:00 / 元情報の更新:2026/11/22 03:31(日本時間)
日本語訳
WordPress用プラグイン「Nexter Blocks Pro」は、5.0.10以下のすべてのバージョンで、tpgb_ajax_register_user()関数を介した権限昇格の脆弱性があります。tpgb_acf_key[]およびtpgb_acf[]パラメータに対するバイト単位の拒否リストが、見た目の似たUnicode文字を遮断できないことが原因です。例えばẇp_çapabilitiesというキー内のU+1E87やU+00E7のUTF-8バイト列は、ASCIIに基づくどのパターン検査にも一致しません。一方、データベースのデフォルトのアクセントを区別しない照合順序(utf8mb4_unicode_ci/utf8mb4_0900_ai_ci)は、この装飾されたキーを正規のwp_capabilities行と同等に扱うため、update_user_meta()が新規登録ユーザーのロールをadministratorで上書きします。
認証されていない攻撃者が管理者ロールの権限をすべて持つ新しいアカウントを登録し、プラグインのインストール、ファイル変更、任意コード実行を含むWordPressサイトの完全な制御を得られます。ハンドラーに必要なnonceはtp-login-registerブロックを含むすべてのページに公開されるため、ユーザー登録が有効なデフォルトのインストール環境では、nonceの取得、細工した登録POST1回、プラグイン自身のautologinフローという一連の攻撃経路へ容易に到達できます。悪用が成功すると、攻撃者自身のアカウントに管理者ロールの権限がすべて付与されます。
原文(英語)
Nexter Blocks Pro <= 5.0.10 - Unauthenticated Privilege Escalation to Unicode Collation Confusion in 'tpgb_acf_key' Parameter
The Nexter Blocks Pro plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 5.0.10 via the `tpgb_ajax_register_user()` function. This is due to a byte-level denylist on the `tpgb_acf_key[]` and `tpgb_acf[]` parameters that fails to block Unicode look-alike characters — such as U+1E87 and U+00E7 in a key like `ẇp_çapabilities` — whose UTF-8 byte sequences do not match any ASCII-based pattern check, while the database's default accent-insensitive collation (`utf8mb4_unicode_ci` / `utf8mb4_0900_ai_ci`) treats the decorated key as equivalent to the canonical `wp_capabilities` row, causing `update_user_meta()` to overwrite the newly registered user's role with `administrator`. This makes it possible for unauthenticated attackers to register a new account bearing the full Administrator role, gaining complete control over the WordPress site including the ability to install plugins, modify files, and execute arbitrary code. The nonce required by the handler is publicly emitted on any page containing the tp-login-register block, making the full exploit chain — nonce retrieval, a single crafted registration POST, and the plugin's own `autologin` flow — trivially reachable on any default install where user registration is enabled. Successful exploitation causes the attacker's own account to receive the complete Administrator role.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。