🇰🇷 한글 설명
WordPress용 Demi – One Click Demo Import 플러그인의 handle_restore_step 함수에서 임의 디렉토리 복사 취약점이 발견되었습니다. wp-content/uploads/demi-backup-state/ 디렉토리에 대한 HTTP 접근 제어가 누락되어 복구 키가 노출되며, 이를 통해 인증되지 않은 공격자가 서버의 임의 파일을 공격자가 제어하는 위치로 복사할 수 있습니다. 단, 공격을 위해서는 먼저 활성화된 복구 작업이 진행되어 관련 비밀 키 파일이 생성되어 있어야 합니다.
💡 쉬운 설명
플러그인이 복구 작업을 수행할 때 사용하는 비밀 열쇠가 인터넷에 공개되어 있어 누구나 볼 수 있는 상태입니다. 해커가 이 열쇠를 훔쳐서 서버 안에 있는 중요한 파일을 원하는 곳으로 몰래 복사해갈 수 있습니다.
🇺🇸 원문 (English)
The Demi – One Click Demo Import, WP Backup & Site Migration plugin for WordPress is vulnerable to Arbitrary Directory Copy in all versions up to, and including, 0.0.8 via the handle_restore_step function. This is due to missing HTTP access controls on the wp-content/uploads/demi-backup-state/ directory, which exposes the cryptographic restore key used to both authenticate the unauthenticated AJAX handler and forge signed restore-state envelopes. This makes it possible for unauthenticated attackers to copy arbitrary files to attacker-controlled destinations on the server. An active restore operation must have been initiated, which writes the .restore_key and .restore_step_token files to the public upload directory, before the exposed secrets can be harvested and chained to achieve unauthenticated arbitrary file copy.
📍 영향받는 시스템
Demi – One Click Demo Import plugin (WordPress) version 0.0.8 및 그 이하 모든 버전
⚔️ 공격 벡터
노출된 복구 키를 탈취하여 인증되지 않은 AJAX 핸들러를 통해 임의 파일 복사 실행
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, wp-content/uploads/demi-backup-state/ 디렉토리에 대한 외부 접근을 차단하도록 웹 서버 설정을 변경하십시오.
🔧 검증 코드
명령어 결과에 해당 플러그인이 나타나면 설치된 것이며, 설치된 버전이 0.0.8 이하인지 확인이 필요합니다.
wp plugin list --status=active | grep -i 'demi-one-click-demo-import'