Wp Social Login and Register Social Counterに認証回避の脆弱性、管理者になりすまされるおそれ
Summary
Wp Social Login and Register Social Counterの3.2.2以前には、パスワードを使わずに既存のWordPressアカウントでログインされてしまう脆弱性があります。攻撃者は、対象サイトの登録メールアドレスと一致するFacebookまたはTwitterのアカウントを用意するだけで、管理者を含む任意の利用者になりすませます。修正版の情報は確認できていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Wp Social Login and Register Social Counterの3.2.2以前には、パスワードを使わずに既存のWordPressアカウントでログインされてしまう脆弱性があります。攻撃者は、対象サイトの登録メールアドレスと一致するFacebookまたはTwitterのアカウントを用意するだけで、管理者を含む任意の利用者になりすませます。修正版の情報は確認できていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| roxnorWp Social Login and Register Social Counter |
≤ 3.2.2→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
The Wp Social Login and Register Social Counter plugin for WordPress is vulnerable to Authentication Bypass in all versions up to, and including, 3.2.2. This is due to the social login REST callback registered at /wp-json/wslu-social-login/type/{provider}/ with permission_callback => __return_true locating an existing WordPress account solely by the email string returned from the OAuth provider and calling wp_set_auth_cookie() without a password check, while the only verification guard — !empty($getProfile->emailVerified) in inc/admin-create-user.php — is a no-op for the bundled Hybridauth Facebook and Twitter adapters, both of which assign the raw email string rather than a boolean verified flag to emailVerified. This makes it possible for unauthenticated attackers to obtain a fully authenticated session as any existing WordPress user, including Administrators, whose registered email address can be presented through a configured Facebook or Twitter login on the target site. Exploitation requires only that the attacker control an OAuth account whose provider-returned email matches the target account's registered WordPress email address; no local credentials, nonce, or prior foothold is needed.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory