Nexter Extension 4.9.0以下 - reset-viewパラメータでの認証済みの購読者以上による権限昇格
元情報の公開:2026/11/20 06:18 / 元情報の更新:2026/11/20 18:34(日本時間)
日本語訳
WordPress用プラグイン「Nexter Extension – Security, Performance, Code Snippets & Site Toolkit」は、4.9.0以下のバージョンで、権限昇格の脆弱性があります。
role_switcher_to_view_admin_as()関数が、呼び出し元自身のログイン名が指定された場合に、権限チェックやnonceなしでreset-view分岐を処理することが原因です。加えて、不完全なクリーンアップフックmaybe_prevent_switchback_to_administratorは、ユーザーの現在のロールが保存された表示用ロールと等しいと早期終了し、アカウントが既に対象ロールだけを持つためWordPressコアのWP_User::set_role()が処理を短絡する場合には、そもそも実行されません。購読者以上の権限を持つ認証済みの攻撃者が、管理者へ権限を昇格できます。
原文(英語)
Nexter Extension <= 4.9.0 - Authenticated (Subscriber+) Privilege Escalation to 'reset-view' Parameter
The Nexter Extension – Security, Performance, Code Snippets & Site Toolkit plugin for WordPress is vulnerable to Privilege Escalation in versions up to, and including, 4.9.0 This is due to the role_switcher_to_view_admin_as() function handling the `reset-view` branch without a capability check or nonce when the caller's own login is supplied, combined with an incomplete cleanup hook (maybe_prevent_switchback_to_administrator) that exits early when the user's current roles equal the stored view role and that is never triggered when WordPress core's WP_User::set_role() short-circuits because the account already has only the target role. This makes it possible for authenticated attackers, with subscriber-level access and above, to elevate their privileges to Administrator.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。