🇰🇷 한글 설명
WordPress의 Super Forms – Drag & Drop Form Builder 플러그인 6.3.316 버전 이하에서 발생하는 제한되지 않은 파일 유형 업로드 취약점입니다. 공격자가 권한이 없는 메타 데이터를 조작하여 실행 가능한 파일을 업로드함으로써 원격 코드 실행(RCE)을 수행할 수 있습니다.
💡 쉬운 설명
웹사이트의 폼 제작 도구에서 파일 종류를 제대로 검사하지 않아 발생하는 문제입니다. 해커가 악성 파일을 몰래 올려서 웹사이트를 마음대로 조종할 수 있습니다.
🇺🇸 원문 (English)
The Super Forms – Drag & Drop Form Builder plugin for WordPress is vulnerable to Unrestricted File Type Upload in all versions up to, and including, 6.3.316 via the upload_files function. This is due to missing file type validation in the upload_files function, which reads and applies an attacker-controlled extensions string from _super_elements post meta verbatim as the allowed MIME type map. This makes it possible for authenticated attackers, with Subscriber-level access and above, to upload files that may be executable, which makes remote code execution possible. The attack requires a preceding step: poisoning the _super_elements post meta via the super_save_form AJAX handler, which lacks a capability and nonce check but requires the attacker to be authenticated as at minimum a Subscriber-level user; the subsequent file upload via super_upload_files requires no authentication at all.
📍 영향받는 시스템
Super Forms – Drag & Drop Form Builder plugin version <= 6.3.316
⚔️ 공격 벡터
인증된 사용자(Subscriber 이상)가 AJAX 핸들러를 통해 메타 데이터를 조작한 후, 검증되지 않은 파일 업로드 기능을 통해 악성 파일을 업로드함
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, 권한이 낮은 사용자의 메타 데이터 수정 권한을 제한해야 합니다.
🔧 검증 코드
출력된 플러그인 목록에서 Super Forms의 버전을 확인하여 6.3.316 이하인지 체크합니다.
wp plugin list --status=active | grep -i 'super-forms'