🇰🇷 한글 설명
WordPress의 Blocksy Companion 플러그인 2.1.58 이하 버전에서 권한 상승 취약점이 발견되었습니다. 공격자가 AJAX 핸들러의 보안 검사 우회 및 조작된 역할을 이용해 인증 없이 Dokan 판매자 권한을 획득하고 자동으로 로그인할 수 있습니다.
💡 쉬운 설명
해커가 회원가입 절차의 보안 검사를 무력화하여 일반 사용자가 아닌 판매자 권한을 몰래 얻을 수 있는 문제입니다. 이를 통해 사이트에서 허가되지 않은 게시물을 올리는 등 관리자급 권한을 행사할 수 있습니다.
🇺🇸 원문 (English)
The Blocksy Companion plugin for WordPress is vulnerable to privilege escalation in versions up to, and including, 2.1.58 This is due to the implement_user_registration() AJAX handler explicitly disabling Dokan's vendor-registration nonce check (via add_filter('dokan_register_nonce_check', '__return_false')) and then trusting an attacker-supplied $_POST['role'] value when invoking wc_create_new_customer() and wc_set_customer_auth_cookie(). This makes it possible for unauthenticated attackers to elevate their privileges to a Dokan 'seller' (vendor) account — including sites where the Dokan vendor signup is explicitly turned off — and to be auto-authenticated into that account, which grants publishing capabilities beyond those of a normal customer.
📍 영향받는 시스템
Blocksy Companion plugin for WordPress (version up to and including 2.1.58)
⚔️ 공격 벡터
인증되지 않은 공격자가 조작된 $_POST['role'] 값을 포함한 AJAX 요청을 전송하여 권한을 상승시킴
🛡️ 대응 방법
Blocksy Companion 플러그인을 최신 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 Blocksy Companion의 버전을 확인하여 2.1.58 이하인지 체크합니다.
wp plugin list --status=active | grep -i 'blocksy-companion'