🇰🇷 한글 설명
WordPress용 WP EasyCart 플러그인 5.9.3 이하 버전에서 권한 상승 취약점이 발견되었습니다. AJAX 핸들러가 입력값을 검증 없이 데이터베이스 옵션에 직접 반영하여, 스토어 매니저 권한을 가진 공격자가 관리자 권한을 획득할 수 있습니다.
💡 쉬운 설명
쇼핑몰 관리자 권한을 가진 사용자가 시스템 설정을 몰래 바꿔서 사이트 전체를 관리하는 최고 관리자로 변신할 수 있는 문제입니다. 이를 통해 공격자는 사이트의 모든 제어권을 탈취할 수 있습니다.
🇺🇸 원문 (English)
The WP EasyCart plugin for WordPress is vulnerable to privilege escalation in versions up to, and including, 5.9.3. This is due to the ec_ajax_save_page_default_options() AJAX handler iterating over every $_POST key and passing it directly into update_option() without any allowlist, while gating the handler only on 'manage_options' OR the plugin's custom 'wpec_manager' capability. The plugin's built-in 'wpec_store_manager' role holds 'wpec_manager' but not 'manage_options', and the required nonce is emitted on frontend product/category templates that render for any user with 'wpec_manager'. This makes it possible for authenticated attackers, with Store Manager-level access and above, to elevate their privileges to administrator by updating arbitrary WordPress options such as default_role='administrator' and users_can_register='1', then self-registering a new account that is assigned the administrator role.
📍 영향받는 시스템
WP EasyCart plugin for WordPress (versions up to and including 5.9.3)
⚔️ 공격 벡터
인증된 스토어 매니저 권한을 이용해 AJAX 요청으로 WordPress 옵션 값을 조작하여 권한 상승
🛡️ 대응 방법
WP EasyCart 플러그인을 최신 버전으로 업데이트하거나, 불필요한 사용자 권한을 즉시 제거하십시오.
🔧 검증 코드
출력된 결과에서 wp-easycart의 버전이 5.9.3 이하인지 확인하십시오.
wp plugin list --allow-root | grep -i 'wp-easycart'