🇰🇷 한글 설명
GWD Connect 플러그인 2.9 버전 이하에서 기본 설정 시 API 키 검증이 누락되어 있어, 미인증 공격자가 gwd-backup.php 또는 gwd-logs.php 엔드포인트에 접근 가능합니다. update_agent 액션을 이용해 서버에 임의의 PHP 코드를 작성 및 실행할 수 있으며, 등록되지 않은 특정 환경에서만 악용 가능합니다.
💡 쉬운 설명
WordPress의 GWD Connect 플러그인이 처음 설정될 때 보안 확인을 건너뛰어서, 누구나 특수한 요청을 보내 서버에 악성 프로그램을 몰래 설치할 수 있습니다. 플러그인을 업데이트하거나 관리자 설정으로 API 키를 활성화하면 막을 수 있습니다.
🇺🇸 원문 (English)
The GWD Connect plugin for WordPress is vulnerable to missing authorization to limited code execution in all versions up to, and including, 2.9. This is due to the plugin's standalone agent endpoints (gwd-backup.php and gwd-logs.php) not verifying authentication when the API key has not been configured, which is the default state. This makes it possible for unauthenticated attackers - on unregistered installations only, in certain environments - to execute arbitrary code on the server via the update_agent action, which writes attacker-supplied PHP code to the agent file.
📍 영향받는 시스템
GWD Connect WordPress plugin version 2.9 이하 (미등록 설치 환경)
⚔️ 공격 벡터
gwd-backup.php 또는 gwd-logs.php 엔드포인트에 update_agent 액션으로 PHP 코드 페이로드 전송
🛡️ 대응 방법
GWD Connect 플러그인을 최신 버전으로 업데이트하거나 API 키 설정 활성화, WAF로 해당 엔드포인트 차단
🔧 검증 코드
gwd-backup.php 파일이 발견되면 플러그인 설치 확인 후 wp-admin 또는 플러그인 버전 확인 필요, 파일 없으면 안전함
find /var/www/html -path '*/wp-content/plugins/gwd-connect*' -name 'gwd-backup.php' 2>/dev/null && echo 'Vulnerable' || echo 'Not found'