Pie Register 3.8.4.17以下 - 過大なusernameパラメータの認可欠如による認証不要の管理者ロール変更

元情報の公開:2026/11/20 06:23 / 元情報の更新:2026/11/21 07:02(日本時間)

日本語訳

WordPress用プラグイン「Pie Register – User Registration, Profiles & Content Restriction」は、3.8.4.17以下のすべてのバージョンで、認可を回避できる脆弱性があります。プラグインが操作を実行する権限をユーザーが持つか適切に検証していないことが原因です。認証されていない攻撃者が、サイトの主要な管理者アカウント(ユーザーID 1)のロールを登録フォームに設定されたロールで上書きし、管理者を低権限のロールへ降格させてwp-adminから締め出せます。悪用できるのはPHP 8以上だけです。この環境ではWP_Errorオブジェクトをintへキャストすると1となり、ロール変更の対象がユーザーID 1になるためです。

原文(英語)

Pie Register <= 3.8.4.17 - Missing Authorization to Unauthenticated Administrator Role Modification via Oversized 'username' Parameter

The Pie Register – User Registration, Profiles & Content Restriction plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 3.8.4.17 This is due to the plugin not properly verifying that a user is authorized to perform an action. This makes it possible for unauthenticated attackers to overwrite the role of the site's primary administrator account (user ID 1) with the registration form's configured role, demoting the administrator to a lower-privileged role and locking them out of wp-admin. This vulnerability is exploitable only on PHP 8+, where casting a WP_Error object to int yields 1, causing the role modification to target user ID 1.

引用元:Wordfence

確認と対応の進め方

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

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

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

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

運営元KanriPressのサービス案内

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

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

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