Плагин Super Forms Drag & Drop Form Builder для WordPress уязвим для Privilege Escalation во всех версиях вплоть до 6.3.316. Это связано с тем, что функция дополнения Register & Login before_email_success_msg() включает в белый список представленный клиентом ключ "role" и копирует его в массив пользовательских данных, который передается непосредственно wp_insert_user(), без проверки представленной роли по отношению к настроенному администратором register_user_role, без списка разрешений и без проверки возможностей current_user_can(). Это позволяет злоумышленникам, не прошедшим проверку подлинности, зарегистрировать новую учетную запись с ролью Administrator, введя роль администратора в данные, представленные в любой опубликованной регистрационной форме Super Forms (register_login_action='register').
Показать оригинальное описание (EN)
The Super Forms – Drag & Drop Form Builder plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 6.3.316. This is due to the Register & Login add-on's before_email_success_msg() function whitelisting the client-submitted 'role' key and copying it into the user-data array that is passed directly to wp_insert_user(), without validating the submitted role against the administrator-configured register_user_role, without an allow-list, and without any current_user_can() capability check. This makes it possible for unauthenticated attackers to register a new account with the Administrator role by injecting role=administrator into the data submitted to any published Super Forms registration form (register_login_action='register').
Характеристики атаки
Последствия
Строка CVSS v3.1