🇰🇷 한글 설명
Dpanel 서비스의 기본 설정에 하드코딩된 JWT 비밀키가 포함되어 있어 공격자가 유효한 JWT 토큰을 생성하고 호스트 머신을 침해할 수 있습니다. 소스 코드 분석을 통해 비밀키를 발견한 공격자는 위조된 토큰으로 인증을 우회하고 관리자 권한을 탈취할 수 있으며, 이는 데이터 노출, 명령 실행, 권한 상승 등으로 이어집니다.
💡 쉬운 설명
Dpanel의 관리자 인증 열쇠가 프로그램 코드에 그대로 숨겨져 있어서, 악의적 사용자가 그 열쇠를 찾아 가짜 관리자 권한을 만들 수 있습니다. 이렇게 되면 시스템의 모든 데이터를 도용하거나 컴퓨터를 완전히 장악할 수 있게 됩니다.
🇺🇸 원문 (English)
Dpanel is a Docker visualization panel system which provides complete Docker management functions. The Dpanel service contains a hardcoded JWT secret in its default configuration, allowing attackers to generate valid JWT tokens and compromise the host machine. This security flaw allows attackers to analyze the source code, discover the embedded secret, and craft legitimate JWT tokens. By forging these tokens, an attacker can successfully bypass authentication mechanisms, impersonate privileged users, and gain unauthorized administrative access. Consequently, this enables full control over the host machine, potentially leading to severe consequences such as sensitive data exposure, unauthorized command execution, privilege escalation, or further lateral movement within the network environment. This issue is patched in version 1.6.1. A workaround for this vulnerability involves replacing the hardcoded secret with a securely generated value and load it from secure configuration storage.
📍 영향받는 시스템
Dpanel 1.6.1 미만의 모든 버전
⚔️ 공격 벡터
소스 코드 분석으로 하드코딩된 JWT 비밀키를 발견 후, 이를 이용하여 유효한 JWT 토큰을 위조하여 인증 우회 및 관리자 권한 탈취
🛡️ 대응 방법
Dpanel을 1.6.1 이상으로 업그레이드하거나 하드코딩된 비밀키를 안전한 설정 저장소에서 로드되는 값으로 교체
🔧 검증 코드
명령어 실행 후 설치된 dpanel 버전이 1.6.1 미만이면 해당 시스템이 CVE-2025-30206에 취약함을 의미합니다.
dpkg -l | grep -i dpanel && echo 'Installed' || echo 'Not installed'; docker ps --format 'table {{.Image}}\t{{.Labels}}' 2>/dev/null | grep -i dpanel