🇰🇷 한글 설명
WordPress의 Query Wrangler 플러그인 1.5.57 이하 버전에서 원격 코드 실행(RCE) 취약점이 발견되었습니다. 'options' 파라미터에 대한 권한 확인 및 논스(nonce) 검증 부재로 인해, 인증된 공격자가 서버에서 임의의 코드를 실행할 수 있습니다.
💡 쉬운 설명
웹사이트 관리 도구의 보안 허점을 이용해 해커가 서버에 몰래 명령을 내릴 수 있는 위험한 상태입니다. 로그인 권한이 있는 사용자라면 누구나 이 취약점을 이용해 사이트를 장악할 수 있습니다.
🇺🇸 원문 (English)
The Query Wrangler plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1.5.57 via the 'options' parameter parameter. This is due to missing capability check and nonce verification on the wp_ajax_qw_form_ajax handler, combined with unsanitized attacker-controlled options fully replacing saved query options and being passed directly to call_user_func_array() guarded only by function_exists(). This makes it possible for authenticated attackers, with subscriber-level access and above, to execute code on the server. Exploitation requires only that at least one query row exists in the database, as the query_id is a small enumerable integer with no further access control.
📍 영향받는 시스템
WordPress Query Wrangler plugin (버전 1.5.57 및 그 이하 모든 버전)
⚔️ 공격 벡터
인증된 사용자가 wp_ajax_qw_form_ajax 핸들러의 'options' 파라미터를 조작하여 call_user_func_array()에 악성 코드를 전달
🛡️ 대응 방법
Query Wrangler 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 플러그인 버전이 1.5.57 이하인지 확인하여 취약 여부를 판단합니다.
wp plugin list --status=active | grep -i 'query-wrangler' && wp plugin list --all | grep -E 'query-wrangler' | awk '{print $2 " " $3}'