🇰🇷 한글 설명
WireGuard Portal(wg-portal) 2.2.0부터 2.3.0 버전 사이에서 발생하는 취약점으로, 인증된 저권한 사용자가 WebSocket을 통해 다른 사용자의 피어 공개 키와 트래픽 통계 정보를 열람할 수 있습니다. 이 과정에서 관리자 권한이 필요한 인터페이스 통계 및 이름 정보까지 노출될 수 있습니다.
💡 쉬운 설명
로그인한 일반 사용자가 권한 없이 다른 사용자들이 얼마나 데이터를 주고받는지와 그들의 식별 정보를 몰래 훔쳐볼 수 있는 보안 결함입니다. 관리자만 봐야 하는 시스템 정보까지 노출될 위험이 있습니다.
🇺🇸 원문 (English)
WireGuard Portal, or wg-portal, is a web-based configuration portal for WireGuard server management. From 2.2.0 until 2.3.0, the authenticated GET /api/v0/ws statistics WebSocket in internal/app/api/v0/handlers/endpoint_websocket.go subscribes to TopicPeerStatsUpdated and TopicInterfaceStatsUpdated and forwards every TrafficDelta event without per-user authorization in handleWebsocket(). A low-privilege user can enumerate peer public keys through EntityId and monitor BytesReceived and BytesTransmitted values for peers belonging to other users. The same connection exposes interface_stats and interface names that the REST API limits to administrators. Tunnel content, AllowedIPs, and user identities remain authorization-gated. This issue is fixed in version 2.3.0.
📍 영향받는 시스템
WireGuard Portal (wg-portal) version 2.2.0 to 2.3.0
⚔️ 공격 벡터
인증된 저권한 사용자가 WebSocket API(/api/v0/ws)를 통해 비정상적으로 통계 이벤트에 구독하여 정보 탈취
🛡️ 대응 방법
WireGuard Portal을 보안 패치가 적용된 버전 2.3.0 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 2.2.0에서 2.3.0 사이라면 해당 취약점에 노출된 상태입니다.
curl -s http://<target-ip>:<port>/api/v0/version | grep -E '2\.[2-3]\.'
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
💻 영향받는 소프트웨어
Multi-Domain Security Management Server