🇰🇷 한글 설명
AI Engine – The Chatbot, AI Framework & MCP for WordPress 플러그인 3.8.4 이하 버전의 upload_file 함수에서 파일 경로 검증이 부족하여 인증된 사용자가 서버의 임의 미디어 파일을 삭제할 수 있습니다. 공격은 관리자가 Public API 옵션을 활성화한 경우에만 가능하며, 시간 단위로 실행되는 cleanup_files 작업이 악성 업로드 이후 실행되어야 성립합니다.
💡 쉬운 설명
구독자 권한을 가진 사용자가 웹사이트의 미디어 파일을 임의로 삭제할 수 있는 취약점입니다. 관리자가 공개 API 기능을 켜 둔 경우에만 문제가 발생합니다.
🇺🇸 원문 (English)
The AI Engine – The Chatbot, AI Framework & MCP for WordPress plugin for WordPress is vulnerable to limited media file deletion due to insufficient file path validation in the upload_file function in all versions up to, and including, 3.8.4 This makes it possible for authenticated attackers, with subscriber-level access and above, to delete arbitrary media files on the server. This requires the administrator to have enabled the Public API option, and exploitation depends on the hourly cleanup_files task running after the malicious upload.
📍 영향받는 시스템
WordPress AI Engine 플러그인 3.8.4 이하 버전 (Public API 옵션 활성화 시)
⚔️ 공격 벡터
구독자 이상 권한의 계정으로 악성 경로가 포함된 파일을 업로드한 뒤, 시간별 cleanup_files 작업이 실행되며 임의 미디어 파일이 삭제됨
🛡️ 대응 방법
AI Engine 플러그인을 3.8.5 이상 버전으로 업데이트하고, 불필요하면 Public API 옵션을 비활성화
🔧 검증 코드
출력된 버전이 3.8.4 이하이면 취약하므로 3.8.5 이상으로 업데이트가 필요하며, 버전 정보가 없으면 플러그인 미설치 또는 경로 확인이 필요합니다.
wp plugin list --name=ai-engine --field=version 2>/dev/null || grep -m1 'Version:' wp-content/plugins/ai-engine/ai-engine.php 2>/dev/null