🇰🇷 한글 설명
WordPress의 The Welcomizer 플러그인 2.8.1 이하 버전에서 원격 코드 실행(RCE) 취약점이 발견되었습니다. twiz_ajax_callback AJAX 액션의 'savesection' 핸들러에서 권한 검증이 누락되었고, 사용자 입력값을 eval() 함수로 실행하여 발생합니다. 이를 통해 인증된 공격자가 임의의 PHP 코드를 주입할 수 있습니다.
💡 쉬운 설명
웹사이트 관리 도구의 보안 허점을 이용해 해커가 몰래 명령어를 실행할 수 있는 위험한 상태입니다. 로그인 권한이 있는 사용자라면 누구나 사이트의 제어권을 뺏을 수 있습니다.
🇺🇸 원문 (English)
The The Welcomizer plugin for WordPress is vulnerable to Remote Code Execution in all versions up to and including 2.8.1. This is due to missing authorization checks on the twiz_ajax_callback AJAX action's 'savesection' handler combined with the use of eval() to execute user-supplied 'custom logic' code on the frontend. The AJAX handler at twiz-ajax.php verifies a nonce but performs no current_user_can() capability check for the ACTION_SAVE_SECTION case. Furthermore, the nonce is exposed to any authenticated user through the directly-accessible twiz-ajax.js.php file which loads WordPress and outputs the nonce. This makes it possible for authenticated attackers, with Subscriber-level access and above, to inject arbitrary PHP code via the twiz_custom_logic POST parameter when saving a section with output choice 'twiz_logic_output'.
📍 영향받는 시스템
The Welcomizer WordPress plugin version 2.8.1 and below
⚔️ 공격 벡터
인증된 사용자가 twiz_custom_logic 파라미터에 악성 PHP 코드를 담아 AJAX 요청을 전송
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, 권한 검증 로직(current_user_can)이 포함된 패치를 적용하십시오.
🔧 검증 코드
출력된 결과에서 Welcomizer 플러그인의 버전이 2.8.1 이하인지 확인하십시오.
wp plugin list --status=active | grep -i 'welcomizer'