🇰🇷 한글 설명
WordPress MStore API 2.0.6의 REST API config_file 엔드포인트에서 인증 없이 임의의 파일을 업로드할 수 있는 취약점으로, 공격자가 PHP 파일을 업로드하여 서버에서 원격 코드 실행을 달성할 수 있습니다.
💡 쉬운 설명
WordPress 플러그인의 보안 결함으로 인해 공격자가 웹 서버에 악성 파일을 업로드할 수 있습니다. 업로드된 파일을 실행하면 공격자가 서버를 완전히 제어할 수 있습니다.
🇺🇸 원문 (English)
WordPress MStore API 2.0.6 contains an arbitrary file upload vulnerability that allows unauthenticated attackers to upload malicious files by sending POST requests to the REST API endpoint. Attackers can upload PHP files with arbitrary names to the config_file endpoint to achieve remote code execution on the server.
📍 영향받는 시스템
WordPress MStore API 버전 2.0.6 이하
⚔️ 공격 벡터
인증 없이 REST API의 config_file 엔드포인트에 PHP 파일을 포함한 POST 요청 전송
🛡️ 대응 방법
MStore API를 2.0.7 이상으로 즉시 업그레이드
🔧 검증 코드
명령어 실행 후 반환되는 버전 번호가 2.0.6 이하이면 취약한 상태이며, 2.0.7 이상이면 패치된 상태입니다.
find /var/www/html/wp-content/plugins -name '*mstore*' -type d 2>/dev/null | head -1 | xargs -I {} sh -c 'grep Version {}/mstore.php 2>/dev/null | head -1'