🇰🇷 한글 설명
Prime Mover – Backup and Migration 플러그인의 2.2.1 이하 모든 버전에는 신뢰할 수 없는 입력을 역직렬화하는 PHP 객체 주입 취약점이 있습니다. 인증되지 않은 공격자가 댓글 제출을 통해 악성 직렬화 객체를 저장할 수 있으며, 관리자가 내보내기 또는 복원을 수행할 때 실행될 수 있습니다.
💡 쉬운 설명
워드프레스 백업 플러그인에 결함이 있어, 누구나 댓글을 통해 악성 데이터를 남길 수 있습니다. 관리자가 백업 작업을 하면 그 데이터가 실행되어 사이트가 장악될 수 있습니다.
🇺🇸 원문 (English)
The Prime Mover – Backup and Migration plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 2.2.1 via deserialization of untrusted input in the migration search-and-replace routine (recursiveUnserializeReplace()). An unauthenticated attacker can store a crafted, base64-encoded serialized object in wp_comments.comment_content through the standard comment-submission endpoint (wp-comments-post.php). When an administrator subsequently performs a routine Prime Mover export or restore, the plugin base64-decodes that stored value and passes it to unserialize() with no allowed_classes restriction. A Property-Oriented Programming (POP) chain is present in the plugin's own bundled Freemius library (FS_Clone_Manager::__set → FS_Option_Manager::set_option → store() → update_option()), so no additional plugin or theme is required — the plugin ships the gadget itself.
📍 영향받는 시스템
Prime Mover – Backup and Migration 플러그인 2.2.1 이하 모든 WordPress 설치 환경
⚔️ 공격 벡터
비인증 공격자가 wp-comments-post.php로 base64 인코딩된 악성 직렬화 객체가 담긴 댓글을 제출한 뒤, 관리자의 export/restore 작업 시 unserialize()가 실행되도록 유도
🛡️ 대응 방법
Prime Mover 플러그인을 2.2.1 초과 최신 버전으로 즉시 업데이트하고, 업데이트 전까지 플러그인을 비활성화하며 wp_comments 테이블의 의심스러운 댓글 내용을 점검
🔧 검증 코드
출력된 버전이 2.2.1 이하이면 취약하므로 즉시 업데이트가 필요하며, 2.2.1 초과이거나 플러그인이 없으면 취약하지 않습니다.
wp plugin get prime-mover --field=version 2>/dev/null || grep -i 'Version:' wp-content/plugins/prime-mover/prime-mover.php 2>/dev/null