🇰🇷 한글 설명
WordPress용 Click to Chat for WhatsApp 플러그인 4.44 이하 버전에서 임의의 쇼트코드 실행 취약점이 발견되었습니다. 공격자가 조작된 URL을 통해 필터링되지 않은 데이터를 do_shortcode() 함수로 전달함으로써, 인증되지 않은 사용자가 임의의 쇼트코드를 실행할 수 있습니다.
💡 쉬운 설명
웹사이트 주소창에 특수한 코드를 입력하는 것만으로도 사이트의 권한을 탈취하거나 원치 않는 동작을 실행할 수 있는 보안 결함입니다. 공격자가 사이트 내의 숨겨진 기능을 마음대로 조작할 수 있어 매우 위험합니다.
🇺🇸 원문 (English)
The Click to Chat for WhatsApp plugin for WordPress is vulnerable to Arbitrary Shortcode Execution in versions up to, and including, 4.44 This is due to the greetings_dialog() function building the {url} template placeholder from a sanitize_text_field()-filtered $_SERVER['REQUEST_URI'] on archive pages and then passing the substituted greeting content to do_shortcode() in the greetings-1 and greetings-2 templates, without stripping shortcode delimiters. Because wp_kses() runs against main_content BEFORE the {url} substitution, the attacker-controlled URL bytes reach do_shortcode() unfiltered. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes registered by WordPress core, the active theme, or any other plugin (e.
📍 영향받는 시스템
Click to Chat for WhatsApp plugin (버전 4.44 이하)
⚔️ 공격 벡터
조작된 REQUEST_URI를 포함한 URL을 통해 필터링을 우회하여 쇼트코드를 주입하는 방식
🛡️ 대응 방법
플러그인을 최신 보안 패치 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 플러그인 버전이 4.44 이하인지 확인하여 취약 여부를 판단합니다.
wp plugin list --status=active | grep -i 'click-to-chat' | awk '{print $2}'