Плагин Post SMTP для WordPress уязвим к несанкционированному изменению данных из-за отсутствия проверки возможностей функции handle_office365_oauth_redirect() во всех версиях до 3.8.0 включительно. This is due to the function being hooked to `admin_init` without any `current_user_can()` check or nonce verification. Это позволяет злоумышленникам, прошедшим проверку подлинности, с доступом на уровне подписчика и выше, перезаписать почтовую конфигурацию Office 365 OAuth сайта (токен доступа, токен обновления и адрес электронной почты пользователя) через созданный URL-адрес.
The configuration option is used during wizard setup of Microsoft365 SMTP, only available in the Pro option of the plugin. Это может заставить администратора поверить в то, что приложение Azure, контролируемое злоумышленником, является его собственным, и заставить его подключить подключаемый модуль к учетной записи злоумышленника во время настройки после обновления до версии Pro.
Показать оригинальное описание (EN)
The Post SMTP plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the `handle_office365_oauth_redirect()` function in all versions up to, and including, 3.8.0. This is due to the function being hooked to `admin_init` without any `current_user_can()` check or nonce verification. This makes it possible for authenticated attackers, with Subscriber-level access and above, to overwrite the site's Office 365 OAuth mail configuration (access token, refresh token, and user email) via a crafted URL. The configuration option is used during wizard setup of Microsoft365 SMTP, only available in the Pro option of the plugin. This could cause an Administrator to believe an attacker-controlled Azure app is their own, and lead them to connect the plugin to the attacker's account during configuration after upgrading to Pro.
Характеристики атаки
Последствия
Строка CVSS v3.1