Плагин LoginPress Pro для WordPress уязвим для обхода аутентификации в версиях до 6.2.3 включительно через надстройку Spotify Social Login. Это связано с тем, что функция loginpress_on_spotify_login() доверяет непроверенному полю «email», возвращенному конечной точкой Spotify /v1/me, и использует его напрямую с get_user_by('email', $profile['email']) для идентификации и входа в существующую учетную запись WordPress, не подтверждая, что пользователь Spotify действительно владеет адресом электронной почты (Spotify документирует, что адрес электронной почты профиля не подтвержден) и не требуя от пользователя подтверждения права собственности на соответствующий адрес электронной почты. Аккаунт WordPress.
Это позволяет неаутентифицированным злоумышленникам войти в систему под любым существующим пользователем WordPress, включая администраторов, путем регистрации учетной записи Spotify с использованием адреса электронной почты целевого пользователя и аутентификации через провайдера Spotify.
Показать оригинальное описание (EN)
The LoginPress Pro plugin for WordPress is vulnerable to authentication bypass in versions up to and including 6.2.3 via the Spotify Social Login addon. This is due to the loginpress_on_spotify_login() function trusting the unverified 'email' field returned by Spotify's /v1/me endpoint and using it directly with get_user_by('email', $profile['email']) to identify and log in an existing WordPress account, without confirming that the Spotify user actually owns the email address (Spotify documents that the profile email is unverified) and without requiring the user to prove ownership of the matching WordPress account. This makes it possible for unauthenticated attackers to log in as any existing WordPress user, including Administrators, by registering a Spotify account using the targeted user's email address and authenticating via the Spotify provider.
Характеристики атаки
Последствия
Строка CVSS v3.1