🇰🇷 한글 설명
WordPress용 Easy Digital Downloads 플러그인 3.6.9 이하 버전에서 임의 파일 업로드 취약점이 발견되었습니다. edd_do_ajax_import_file_upload() 함수가 클라이언트가 제공하는 Content-Type 헤더만 검증하고 파일 확장자를 제대로 확인하지 않아, 공격자가 악성 파일을 서버에 업로드할 수 있습니다. 이를 통해 인증된 Shop Manager 권한 이상의 공격자가 원격 코드 실행(RCE)을 시도할 수 있습니다.
💡 쉬운 설명
플러그인이 파일의 종류를 제대로 검사하지 않아, 해커가 정상적인 파일인 척하며 악성 프로그램을 서버에 올릴 수 있는 문제입니다. 이로 인해 해커가 웹사이트의 제어권을 완전히 뺏을 위험이 있습니다.
🇺🇸 원문 (English)
The Easy Digital Downloads plugin for WordPress is vulnerable to Arbitrary File Upload in versions up to and including 3.6.9. This is due to insufficient file type validation in the edd_do_ajax_import_file_upload() function , which only checks the client-supplied $_FILES['edd-import-file']['type'] Content-Type header against an allow-list of CSV mime types, then uses raw move_uploaded_file() (bypassing wp_handle_upload()'s core MIME enforcement) to write the file under its original extension into the web-accessible wp-content/uploads/edd/exports/ directory. This makes it possible for authenticated attackers, with Shop Manager-level access and above, to upload arbitrary files on the affected site's server which may make remote code execution possible.
📍 영향받는 시스템
Easy Digital Downloads plugin (WordPress) version 3.6.9 and below
⚔️ 공격 벡터
Shop Manager 이상의 권한을 가진 인증된 공격자가 조작된 Content-Type 헤더를 사용하여 악성 파일을 업로드함
🛡️ 대응 방법
Easy Digital Downloads 플러그인을 최신 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 Easy Digital Downloads의 버전을 확인하여 3.6.9 이하인지 체크하십시오.
wp plugin list --status=active | grep -i 'easy-digital-downloads'