Плагин Appointment Booking Plugin LatePoint Calendar & Scheduling for WordPress для WordPress уязвим для Authentication Bypass через Account Takeover во всех версиях вплоть до 5.7.6. Это связано с тем, что функция OsModel::build_conditions_query() в lib/models/model.php сравнивает значения WHERE-клаузы с буквенными строками 'IS NULL' и 'IS NOT NULL' и соединяет соответствие непосредственно в SQL без привязки его в качестве параметра, недостаток, который ни sanitize_text_field(), ни 5.7.5 `is_scalar() не затвердевает, поскольку оба проходят sarcal. 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.
Злоумышленник может сначала определить адрес электронной почты целевого клиента, отправив params[order_intent_key]=IS NOT NULL на общедоступный маршрут steps__start_from_order_intent, который возвращает имя и адрес электронной почты из первого соответствующего намерения заказа, а затем может самостоятельно активировать требуемое 15-минутное окно обновления пароля, запустив сброс для этого клиента напрямую.
Показать оригинальное описание (EN)
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.
Характеристики атаки
Последствия
Строка CVSS v3.1