🇰🇷 한글 설명
WordPress용 Elementor Forms Drag and Drop File Upload 플러그인의 elementor_file_upload 함수에서 임의 파일 업로드 취약점이 발견되었습니다. is_file_type_valid() 함수의 불충분한 파일 유형 검증으로 인해 공격자가 조작된 확장자를 사용하여 PHP 실행 파일을 업로드할 수 있으며, 이는 원격 코드 실행(RCE)으로 이어질 수 있습니다.
💡 쉬운 설명
파일을 올릴 때 허용된 파일인지 확인하는 과정에 허점이 있어, 해커가 악성 프로그램을 몰래 올릴 수 있는 문제입니다. 이를 통해 해커가 웹사이트를 마음대로 조종할 수 있게 됩니다.
🇺🇸 원문 (English)
The Drag and Drop File Upload for Elementor Forms plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 1.6.0 via the elementor_file_upload function. This is due to insufficient file type validation in the is_file_type_valid() function, which uses the attacker-controlled 'type' parameter as regex keys in the MIME allowlist, allowing blacklist bypass via a crafted extension that sanitize_file_name() later normalizes to a PHP extension. This makes it possible for unauthenticated attackers to upload files that may be executable, which makes remote code execution possible.
📍 영향받는 시스템
Elementor Forms Drag and Drop File Upload plugin (버전 1.6.0 및 그 이하 모든 버전)
⚔️ 공격 벡터
인증되지 않은 공격자가 조작된 'type' 파라미터를 사용하여 검증을 우회하고 실행 가능한 파일을 업로드함
🛡️ 대응 방법
플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
명령어 결과에 해당 플러그인이 나타나고 버전이 1.6.0 이하인 경우 취약할 가능성이 높습니다.
wp plugin list --allow-root | grep -E 'drag-and-drop-file-upload'