🇰🇷 한글 설명
WordPress용 HivePress Authentication 플러그인 1.1.4 이하 버전에서 인증 우회 취약점이 발견되었습니다. Facebook 인증 과정에서 전달된 access_token의 유효성(app_id 및 audience)을 검증하지 않아, 공격자가 탈취한 토큰을 이용해 임의의 사용자로 로그인할 수 있습니다.
💡 쉬운 설명
페이스북 로그인 기능을 사용할 때, 전달된 인증 토큰이 진짜 우리 사이트용인지 확인하지 않는 허점이 있습니다. 이를 통해 공격자가 다른 사람의 인증 정보를 가로채면 관리자 계정으로도 몰래 접속할 수 있습니다.
🇺🇸 원문 (English)
The HivePress Authentication plugin for WordPress is vulnerable to Authentication Bypass via the access_token parameter in all versions up to, and including, 1.1.4. This is due to the authenticate_user function's Facebook authenticator resolving third-party identity by forwarding the attacker-supplied access_token to the Facebook Graph API and trusting the returned email and ID verbatim, without performing any application ID or audience validation — specifically, no /debug_token verification and no comparison of the token's app_id against the configured hp_facebook_app_id. This makes it possible for unauthenticated attackers to authenticate as any existing WordPress user, including administrators, whose email address is associated with a Facebook account for which the attacker can obtain any valid access token. Important Note: To exploit the vulnerability, the attacker must obtain the victim's access token.
📍 영향받는 시스템
HivePress Authentication plugin for WordPress (version 1.1.4 and below)
⚔️ 공격 벡터
공격자가 피해자의 Facebook access_token을 획득한 후, access_token 파라미터를 통해 조작된 요청을 전송하여 인증을 우회함
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, Facebook 인증 설정 시 토큰 검증 로직이 포함된 보안 패치를 적용해야 합니다.
🔧 검증 코드
명령어 결과에 해당 플러그인이 나타나면 설치된 것이며, 설치된 버전이 1.1.4 이하인지 확인이 필요합니다.
wp plugin list --status=active | grep -i 'hivepress-authentication'