Appointment Booking Plugin 5.7.6以下 - 'password_reset_token'パラメーターの'IS NOT NULL'という特殊値を利用したアカウント乗っ取りによる認証不要の認証回避
元情報の公開:2026/11/07 07:55 / 元情報の更新:2026/11/17 06:26(日本時間)
日本語訳
WordPress用プラグイン「Appointment Booking Plugin – LatePoint | Calendar & Scheduling for WordPress」の5.7.6以下のすべてのバージョンには、アカウント乗っ取りによる認証回避の脆弱性があります。原因は、lib/models/model.phpのOsModel::build_conditions_query()関数がWHERE句の値をリテラル文字列IS NULLおよびIS NOT NULLと比較し、一致した値をパラメーターとしてバインドせずSQLに直接連結することです。この欠陥はsanitize_text_field()でも、5.7.5で強化のために追加されたis_scalar()のガードでも解消されません。どちらもスカラー値であるこの特殊値を変更せずに通すためです。
これにより、認証されていない攻撃者は、公開されているcustomer_cabinet__change_password AJAXルートへparams[password_reset_token]=IS NOT NULLを送信し、nullでないすべてのaccount_nonse値を一致対象にできます。その結果、IDが最も小さい顧客が選ばれ、その顧客のパスワードを攻撃者が選んだ値に上書きでき、顧客の予約、注文、個人識別情報(PII)に完全にアクセスできるようになります。さらに、wp_users_as_customersオプションが有効な場合には、紐付いたWordPressの購読者または顧客ロールのアカウントを乗っ取れます。
攻撃者はまず、公開されているsteps__start_from_order_intentルートへparams[order_intent_key]=IS NOT NULLを送信し、対象顧客のメールアドレスを特定できます。このルートは、最初に一致する注文意図のデータから名前とメールアドレスを返します。その後、その顧客のパスワードリセットを直接開始することで、必要となる15分間のリセットの有効期間を攻撃者自身で開始できます。
原文(英語)
Appointment Booking Plugin <= 5.7.6 - Unauthenticated Authentication Bypass via Account Takeover via 'IS NOT NULL' Sentinel in 'password_reset_token' Parameter
The Appointment Booking Plugin – LatePoint | Calendar & Scheduling for WordPress plugin for WordPress is vulnerable to Authentication Bypass via Account Takeover in all versions up to, and including, 5.7.6. This is due to the `OsModel::build_conditions_query()` function in `lib/models/model.php` comparing WHERE-clause values against the literal strings `'IS NULL'` and `'IS NOT NULL'` and concatenating a match directly into SQL without binding it as a parameter, a flaw that neither `sanitize_text_field()` nor the 5.7.5 `is_scalar()` hardening guard closes, since both pass the scalar sentinel through unchanged. This makes it possible for unauthenticated attackers to send `params[password_reset_token]=IS NOT NULL` to the public `customer_cabinet__change_password` AJAX route to match every non-null `account_nonse` value, resolving to the lowest-id customer and overwriting that customer's password to an attacker-chosen value — granting full access to their bookings, orders, and PII, and, when the `wp_users_as_customers` option is enabled, takeover of the linked WordPress subscriber or customer-role account. The attacker can first identify the target customer's email by sending `params[order_intent_key]=IS NOT NULL` to the public `steps__start_from_order_intent` route, which returns the name and email from the first matching order intent, and can then self-arm the required 15-minute password-reset freshness window by triggering a reset for that customer directly.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。