Плагин Nexter Blocks Pro для WordPress уязвим для Privilege Escalation во всех версиях до и включая 5.0.10 через функцию tpgb_ajax_register_user(). 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`. Это позволяет неавторизованным злоумышленникам зарегистрировать новую учетную запись, несущую полную роль Administrator, получая полный контроль над сайтом WordPress, включая возможность устанавливать плагины, изменять файлы и выполнять произвольный код.
Nonce, требуемый обработчиком, публично излучается на любой странице, содержащей блок tp-login-register, что делает полную цепочку эксплойтов - nonce retrieval, одиночную созданную регистрацию POST и собственный поток плагина autologin тривиально доступным для любой установки по умолчанию, где включена регистрация пользователя. Успешная эксплуатация приводит к тому, что собственная учетная запись злоумышленника получает полную роль Administrator.
Показать оригинальное описание (EN)
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.
Характеристики атаки
Последствия
Строка CVSS v3.1