🇰🇷 한글 설명
InstaWP Connect 플러그인 0.1.3.6 이하 버전에서 원격 코드 실행(RCE) 취약점이 발견되었습니다. Apache 서버의 디렉토리 리스팅 기능이 활성화된 경우, 암호화된 옵션 파일의 키가 노출되어 공격자가 데이터베이스 접속 정보와 API 서명을 탈취할 수 있습니다.
💡 쉬운 설명
플러그인이 사용하는 중요한 비밀번호가 들어있는 파일이 인터넷에 노출될 수 있는 보안 허점이 있습니다. 이를 통해 해커가 웹사이트의 데이터베이스에 접근하여 정보를 빼가거나 명령을 실행할 수 있습니다.
🇺🇸 원문 (English)
The InstaWP Connect – 1-click WP Staging & Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 0.1.3.6 via the (top-level script) function. This is due to the plugin stores its encrypted options file as options-{migrate_key}.txt in wp-content/instawpbackups/ without deploying an index.php or .htaccess to prevent directory listing, exposing the 40-character migrate_key on Apache servers with directory indexing enabled, which allows an attacker to derive the AES-256-CBC passphrase via SHA256(migrate_key), decrypt the options file to recover the api_signature. This makes it possible for unauthenticated attackers to get the database access details and api_signature. Exploitation requires the target WordPress site to be hosted on Apache with directory listing enabled (Options +Indexes) for the wp-content/instawpbackups/ directory, and time limited because it can only be exploited during the migration period.
📍 영향받는 시스템
InstaWP Connect – 1-click WP Staging & Migration plugin (버전 0.1.3.6 및 그 이하 모든 버전)
⚔️ 공격 벡터
Apache 서버의 디렉토리 리스팅 기능을 통해 노출된 migrate_key를 이용한 암호화 파일 복호화 및 데이터 탈취
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하고, Apache 설정에서 wp-content/instawpbackups/ 디렉토리의 Directory Indexing(Options +Indexes)을 비활성화하십시오.
🔧 검증 코드
명령어 결과에 해당 플러그인이 나타나면 설치된 것이며, 설치된 버전이 0.1.3.6 이하인지 확인해야 합니다.
wp plugin list --status=active | grep -i 'instawp-connect'