Плагин WPCOM Member для WordPress уязвим для Authentication Bypass во всех версиях до и включая 1.7.27 через параметры uuid и code обработчика обратного вызова в социальной сети, зарегистрированного на крючке init. The vulnerability exists because the `login` function's social-login flow performs no nonce validation, no OAuth state verification, and no per-visitor namespace isolation in the session store, allowing an unauthenticated attacker to issue a crafted GET request that writes an attacker-named, attacker-valued entry into the global session namespace (bypassing the per-visitor prefix by prepending an underscore), then issue a second GET request triggering `weapp_new_user()` to read that forged entry and resolve the attacker-supplied `openid` value to a bound WordPress account before `wp_set_auth_cookie()` establishes a fully authenticated session. Это позволяет злоумышленникам, не прошедшим проверку подлинности, входить в систему, как любой пользователь WordPress, включая администраторов, чей идентификатор связанного социального провайдера (openid / unionid) известен или может быть обнаружен.
Успешная эксплуатация требует, чтобы на целевом сайте был настроен по крайней мере один социальный провайдер (который активирует уязвимый обработчик), и чтобы злоумышленник знал или мог перечислить связанный openid или unionid учетной записи жертвы.
Показать оригинальное описание (EN)
The WPCOM Member plugin for WordPress is vulnerable to Authentication Bypass in all versions up to, and including, 1.7.27 via the `uuid` and `code` parameters of the social-login callback handler registered on the `init` hook. The vulnerability exists because the `login` function's social-login flow performs no nonce validation, no OAuth state verification, and no per-visitor namespace isolation in the session store, allowing an unauthenticated attacker to issue a crafted GET request that writes an attacker-named, attacker-valued entry into the global session namespace (bypassing the per-visitor prefix by prepending an underscore), then issue a second GET request triggering `weapp_new_user()` to read that forged entry and resolve the attacker-supplied `openid` value to a bound WordPress account before `wp_set_auth_cookie()` establishes a fully authenticated session. This makes it possible for unauthenticated attackers to log in as any WordPress user — including administrators — whose bound social provider identifier (openid/unionid) is known or discoverable. Successful exploitation requires that the target site has at least one social provider configured (which activates the vulnerable handler) and that the attacker knows or can enumerate the victim account's bound openid or unionid.
Характеристики атаки
Последствия
Строка CVSS v3.1