🔍 CVE-2025-30095

9.0
CVSS Score
CRITICAL
2025-03-31
2026-06-17 09:08
✅ 완료

🇰🇷 한글 설명

VyOS 1.3~1.5 및 live-build 사용하는 Debian 계열 시스템에서 Dropbear SSH 데몬의 개인 호스트 키가 모든 설치 환경에서 동일하게 구성되어 있습니다. 이로 인해 공격자가 호스트 키를 획득하면 SSH 연결에 대한 중간자 공격(MITM)을 수행할 수 있습니다.

💡 쉬운 설명

특정 리눅스 시스템들이 보안 열쇠를 모두 같게 설정해서 배포하는 문제로, 해커가 그 열쇠를 알면 누구든 SSH 접속을 가로챌 수 있습니다. VyOS의 콘솔 서비스에서 기본적으로 Dropbear를 사용하므로 영향을 받습니다.

🇺🇸 원문 (English)

VyOS 1.3 through 1.5 (fixed in 1.4.2) or any Debian-based system using dropbear in combination with live-build has the same Dropbear private host keys across different installations. Thus, an attacker can conduct active man-in-the-middle attacks against SSH connections if Dropbear is enabled as the SSH daemon. I n VyOS, this is not the default configuration for the system SSH daemon, but is for the console service. To mitigate this, one can run "rm -f /etc/dropbear/*key*" and/or "rm -f /etc/dropbear-initramfs/*key*" and then dropbearkey -t rsa -s 4096 -f /etc/dropbear_rsa_host_key and reload the service or reboot the system before using Dropbear as the SSH daemon (this clears out all keys mistakenly built into the release image) or update to the latest version of VyOS 1.4 or 1.5. Note that this vulnerability is not unique to VyOS and may appear in any Debian-based Linux distribution that uses Dropbear in combination with live-build, which has a safeguard against this behavior in OpenSSH but no equivalent one for Dropbear.

📍 영향받는 시스템

VyOS 1.3-1.5 (1.4.2 버전 제외), live-build와 Dropbear를 사용하는 모든 Debian 기반 배포판

⚔️ 공격 벡터

동일한 Dropbear 개인 호스트 키로 인한 중간자 공격(MITM) 가능

🛡️ 대응 방법

rm -f /etc/dropbear/*key* && dropbearkey -t rsa -s 4096 -f /etc/dropbear_rsa_host_key && systemctl restart dropbear 또는 VyOS 1.4.2 이상으로 업그레이드

🔧 검증 코드

호스트 키가 존재하고 수정 시간이 릴리스 빌드 시점이면 취약한 상태; 최근에 재생성된 키면 안전

Shell / Script
ls -la /etc/dropbear/ && stat /etc/dropbear/*key* 2>/dev/null | grep 'Change\|Modify'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

💻 영향받는 소프트웨어

OpenSSH