🇰🇷 한글 설명
WordPress용 Super Forms – Drag & Drop Form Builder 플러그인의 Register & Login 애드온에서 권한 상승 취약점이 발견되었습니다. 공격자가 회원가입 양식에 'role=administrator' 값을 주입하면 인증되지 않은 상태에서도 관리자 권한을 가진 계정을 생성할 수 있습니다.
💡 쉬운 설명
회원가입을 할 때 사용자가 몰래 '나는 관리자다'라고 적어 보내면, 시스템이 이를 검증 없이 그대로 받아들여 관리자 계정을 만들어주는 문제입니다. 이를 통해 해커는 사이트의 모든 권한을 탈취할 수 있습니다.
🇺🇸 원문 (English)
The Super Forms – Drag & Drop Form Builder plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 6.3.316. This is due to the Register & Login add-on's before_email_success_msg() function whitelisting the client-submitted 'role' key and copying it into the user-data array that is passed directly to wp_insert_user(), without validating the submitted role against the administrator-configured register_user_role, without an allow-list, and without any current_user_can() capability check. This makes it possible for unauthenticated attackers to register a new account with the Administrator role by injecting role=administrator into the data submitted to any published Super Forms registration form (register_login_action='register').
📍 영향받는 시스템
Super Forms – Drag & Drop Form Builder (버전 6.3.316 및 그 이하 모든 버전)
⚔️ 공격 벡터
게시된 회원가입 양식에 'role=administrator' 파라미터를 삽입하여 전송하는 방식
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, 권한 검증 로직이 포함된 보안 패치를 적용해야 합니다.
🔧 검증 코드
출력된 결과에서 Super Forms 플러그인의 버전이 6.3.316 이하인지 확인합니다.
wp plugin list --status=active | grep -i 'super-forms'