🇰🇷 한글 설명
WordPress용 Backuply 플러그인 1.5.8 이하 버전에서 발생하는 2차 SQL 인젝션 취약점입니다. 사용자의 'Biographical Info' 필드에 삽입된 악성 페이로드가 백업 복구 과정에서 실행되어 데이터베이스 권한을 탈취할 수 있습니다. 이를 통해 공격자는 권한을 상승시켜 사이트 전체를 장악할 수 있습니다.
💡 쉬운 설명
백업 파일을 복구할 때 프로필 정보에 숨겨진 악성 코드가 실행되는 보안 결함입니다. 이를 이용하면 일반 사용자가 관리자 권한을 얻어 웹사이트를 마음대로 조작할 수 있습니다.
🇺🇸 원문 (English)
The Backuply – Backup, Restore, Migrate and Clone plugin for WordPress is vulnerable to SQL Injection via the Biographical Info field (second-order, via restore) in all versions up to, and including, 1.5.8 due to insufficient escaping on the user supplied parameter and the lack of sufficient preparation on an existing SQL query. Backuply exports the Biographical Info value verbatim inside an INSERT statement written to the backup's SQL dump (wp_usermeta). When an Administrator later restores such a backup, the crafted payload breaks out of that INSERT statement and appends attacker-controlled SQL that executes with full database privileges. This makes it possible for authenticated attackers, with subscriber-level access and above, to write arbitrary data to the database — in particular to update the default_role option in wp_options to administrator (and enable open user registration) — so that a subsequently registered account is automatically granted the Administrator role, resulting in privilege escalation and full site takeover. Because the injection executes inside an INSERT during restore with no response returned to the attacker, the primitive is used to modify database records rather than to read existing data directly.
📍 영향받는 시스템
Backuply – Backup, Restore, Migrate and Clone plugin for WordPress (버전 1.5.8 및 그 이하 모든 버전)
⚔️ 공격 벡터
악성 SQL 페이로드가 포함된 백업 파일을 복구(Restore) 기능을 통해 실행하는 방식
🛡️ 대응 방법
Backuply 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
명령어 결과에 Backuply 플러그인이 나타나면 설치된 것이며, 설치된 버전이 1.5.8 이하인지 확인이 필요합니다.
wp plugin list --status=active | grep -i 'backuply'