🇰🇷 한글 설명
WordPress용 Kali Forms 플러그인의 _save_data 함수에서 원격 코드 실행(RCE) 취약점이 발견되었습니다. 'thisPermalink' 필드 값에 대한 검증이 부족하여 공격자가 제어하는 문자열이 call_user_func()에 전달될 수 있으며, 이를 통해 인증되지 않은 공격자가 서버에서 코드를 실행할 수 있습니다.
💡 쉬운 설명
웹사이트의 문의 양식 플러그인에 허점이 있어, 해커가 특수한 명령어를 입력하면 서버를 마음대로 조종할 수 있는 위험한 상태입니다. 공격자는 별도의 로그인 없이도 웹사이트의 제어권을 탈취할 수 있습니다.
🇺🇸 원문 (English)
The Kali Forms — Contact Form & Drag-and-Drop Builder plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 2.4.20 via the _save_data function. This is due to insufficient validation of the 'thisPermalink' field value before it overwrites a trusted callable placeholder, allowing attacker-controlled strings to reach call_user_func() in _save_data(). This makes it possible for unauthenticated attackers to execute code on the server. Exploitation requires the target form to define a field with a name matching one of the reserved placeholder keys ('thisPermalink', 'entryCounter', or 'submission_link'), as check_if_placeholders_changed() only processes POST keys present in the form's field_type_map.
📍 영향받는 시스템
Kali Forms — Contact Form & Drag-and-Drop Builder plugin (버전 2.4.20 및 그 이하 모든 버전)
⚔️ 공격 벡터
특정 예약된 플레이스홀더 키를 가진 필드를 포함한 폼을 통해 조작된 'thisPermalink' 값을 전송하여 call_user_func() 호출 유도
🛡️ 대응 방법
플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 kali-forms의 버전이 2.4.20 이하인지 확인하십시오.
wp plugin list --status=active | grep -i 'kali-forms' && wp plugin list --all | grep -E 'kali-forms' | awk '{print $2 " " $3}'