🇰🇷 한글 설명
WordPress용 LoginPress Pro 플러그인 6.2.3 이하 버전에서 인증 우회 취약점이 발견되었습니다. Discord OAuth 콜백 처리 과정에서 이메일 인증 여부를 확인하지 않아, 공격자가 타겟 사용자의 이메일과 일치하는 미인증 Discord 계정을 생성하여 관리자 권한을 탈취할 수 있습니다.
💡 쉬운 설명
로그인할 때 이메일이 진짜 본인 것인지 확인하는 절차를 건너뛰는 보안 결함이 있습니다. 이를 통해 공격자는 다른 사람의 이메일 주소만 알면 그 사람의 계정으로 몰래 로그인할 수 있습니다.
🇺🇸 원문 (English)
The LoginPress Pro plugin for WordPress is vulnerable to Authentication Bypass via Unverified OAuth Email in all versions up to and including 6.2.3. The vulnerability exists in the loginpress_on_discord_login() Discord OAuth callback handler, which accepts the email field returned by Discord's /users/@me endpoint without ever checking that the profile's verified flag is true, then directly maps that email to a local WordPress account via get_user_by('email', $profile['email']) and issues an authenticated session cookie via wp_set_auth_cookie(). This makes it possible for unauthenticated attackers to take over any existing WordPress account — including administrator accounts — by registering a Discord account configured with an unverified email address that matches the target user's registered WordPress email and completing the standard Discord OAuth flow.
📍 영향받는 시스템
LoginPress Pro plugin for WordPress (version 6.2.3 and below)
⚔️ 공격 벡터
미인증 이메일을 사용하는 Discord 계정을 생성한 후 OAuth 인증 과정을 통해 타겟 WordPress 계정 탈취
🛡️ 대응 방법
LoginPress Pro 플러그인을 최신 버전으로 업데이트하거나 Discord 로그인 기능을 비활성화하십시오.
🔧 검증 코드
명령어 결과에 'loginpress-pro'가 포함되어 있다면 해당 플러그인이 설치된 것이며, 설치된 버전을 확인하여 6.2.3 이하인지 점검해야 합니다.
wp plugin list --status=active | grep -i 'loginpress-pro'