🇰🇷 한글 설명
WordPress의 Divi Membership 플러그인(2.2.0 이하 버전)에서 권한 상승 취약점이 발견되었습니다. 공격자가 `form_id` 파라미터에 조작된 bcrypt 해시를 전달하여 검증 없이 관리자 권한을 획득할 수 있으며, 이를 통해 사이트 전체를 장악할 수 있습니다.
💡 쉬운 설명
회원가입 과정에서 보안 검증이 미흡하여, 공격자가 가짜 정보를 보내 관리자 계정을 마음대로 만들 수 있는 문제입니다. 이로 인해 해커가 웹사이트의 모든 권한을 빼앗아갈 수 있습니다.
🇺🇸 원문 (English)
The Divi Membership plugin for WordPress is vulnerable to Privilege Escalation in versions up to, and including, 2.2.0. This is due to the `dmem_form_submit_handler()` function determining the new user's role by iterating all WordPress roles and calling `password_verify()` against an attacker-controlled bcrypt hash supplied in the `form_id` POST parameter, with no validation or whitelist of allowed roles. This makes it possible for unauthenticated attackers to register a new account with the administrator role by submitting a locally computed bcrypt hash of `administrator` as `form_id`, and when `auto_login=on` is submitted, be immediately authenticated as that administrator in the same request, resulting in full site takeover. Exploitation requires a WordPress nonce, but that nonce is publicly emitted on any page rendering the Divi Membership registration form and is therefore obtainable by any unauthenticated visitor.
📍 영향받는 시스템
WordPress Divi Membership plugin versions up to and including 2.2.0
⚔️ 공격 벡터
인증되지 않은 공격자가 조작된 `form_id` 파라미터와 공개된 nonce를 사용하여 관리자 권한으로 회원가입 및 자동 로그인 수행
🛡️ 대응 방법
Divi Membership 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 플러그인 버전이 2.2.0 이하인지 확인하여 취약 여부를 판단합니다.
wp plugin list --name divi-membership --format='table' | grep -E 'divi-membership'