🔍 CVE-2026-12597

8.1
CVSS Score
HIGH
2026-07-10
2026-07-10 16:16
✅ 완료

🇰🇷 한글 설명

WordPress용 LoginPress Pro 플러그인 6.2.3 이하 버전에서 GitHub OAuth 콜백 처리 과정 중 인증 우회 취약점이 발견되었습니다. 공격자가 GitHub 프로필에 인증되지 않은 이메일을 추가한 뒤 OAuth 콜백을 트리거하면, 플러그인이 이메일의 인증 여부를 확인하지 않고 해당 이메일과 일치하는 WordPress 사용자(관리자 포함)로 로그인할 수 있습니다.

💡 쉬운 설명

GitHub 계정으로 로그인할 때 이메일이 진짜 본인 것인지 확인하지 않는 허점이 있습니다. 이를 이용해 공격자가 다른 사람의 이메일을 자신의 GitHub에 등록하면 해당 사용자로 몰래 로그인할 수 있습니다.

🇺🇸 원문 (English)

The LoginPress Pro plugin for WordPress is vulnerable to Authentication Bypass via the GitHub OAuth callback in versions up to, and including, 6.2.3. The vulnerability exists in the loginpress_on_github_login() function, which blindly trusts the first element (profile[0]['email']) of the array returned by GitHub's /user/emails endpoint as an account-binding identifier without verifying that the email carries a verified === true status. This makes it possible for unauthenticated attackers to log in as any existing WordPress user, including administrators, by adding an unverified email address matching a local account to their GitHub profile and triggering the OAuth callback via a crafted code parameter — causing the plugin to call get_user_by('email', ...) and establish an authenticated session for the matched account. Practical exploitation is conditional on GitHub returning the attacker-added unverified email at index 0 of the /user/emails response, as GitHub typically prioritizes the primary verified address first; nonetheless, the absence of any email verification check in the plugin constitutes a fundamental authentication bypass flaw.

📍 영향받는 시스템

LoginPress Pro plugin for WordPress (versions up to and including 6.2.3)

⚔️ 공격 벡터

GitHub 프로필에 타겟 이메일을 추가한 후 조작된 OAuth 콜백을 통해 인증 우회 시도

🛡️ 대응 방법

LoginPress Pro 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.

🔧 검증 코드

명령어 결과에 버전이 6.2.3 이하로 나타나면 취약한 버전이 설치된 상태입니다.

Shell / Script
wp plugin list --name=loginpress-pro --format=json | grep -E '"version":"[0-6]\.[0-6]\.[0-3]"'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Git