🇰🇷 한글 설명
WordPress의 Wholesale Market 플러그인 2.2.2 이하 버전에서 권한 상승 취약점이 발견되었습니다. 공격자가 AJAX 요청을 통해 임의의 역할을 지정할 수 있어, 구독자 권한을 가진 인증된 사용자가 관리자 권한을 획득할 수 있습니다.
💡 쉬운 설명
로그인한 일반 사용자가 특정 명령을 조작하여 웹사이트의 최고 관리자 권한을 몰래 뺏어올 수 있는 보안 결함입니다. 관리자 설정 중 '요청된 역할을 직접 할당' 옵션이 켜져 있을 때 특히 위험합니다.
🇺🇸 원문 (English)
The Wholesale Market plugin for WordPress is vulnerable to privilege escalation in versions up to, and including, 2.2.2 via the ced_wholesale_request_send AJAX action. The ced_wholesale_request_send_callback() handler only verifies a nonce (which is exposed to any authenticated user through wp_localize_script on the frontend) and that the caller has a positive user ID, then calls WP_User::add_role() with the client-supplied role_required POST parameter without restricting the value to an allowlist of wholesale roles. This makes it possible for authenticated attackers, with Subscriber-level access and above, to elevate their privileges to Administrator when the site administrator has enabled the 'Assigning requested role directly' option.
📍 영향받는 시스템
WordPress Wholesale Market plugin (버전 2.2.2 이하)
⚔️ 공격 벡터
인증된 사용자가 ced_wholesale_request_send AJAX 액션에 조작된 role_required 파라미터를 전송하여 공격
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하고, 관리자 설정에서 'Assigning requested role directly' 옵션을 비활성화하십시오.
🔧 검증 코드
출력된 플러그인 목록에서 Wholesale Market의 버전을 확인하여 2.2.2 이하인지 점검하십시오.
wp plugin list --status=active | grep -i 'wholesale-market'