🇰🇷 한글 설명
Network Optix Nx Witness VMS 6.1.2 이전 버전의 Standard 모드에서 REST API CORS 설정 오류로 인해 악의적인 웹 페이지를 통해 인증된 사용자의 세션 토큰이 탈취될 수 있습니다. 이를 통해 관리자 계정 접근이 가능합니다. High 모드에서는 이 취약점의 영향을 받지 않습니다.
💡 쉬운 설명
웹사이트 보안 설정 오류로 다른 웹사이트가 사용자의 로그인 토큰을 훔칠 수 있습니다. 악의적인 페이지를 방문하는 것만으로도 관리자 권한이 탈취될 수 있습니다.
🇺🇸 원문 (English)
CORS misconfiguration in the REST API of Network Optix Nx Witness VMS before version 6.1.2, when running in the default Standard security mode, on Linux and Windows allows an unauthenticated remote attacker to steal the session token of an authenticated user and perform Administrator Account Takeover via a malicious cross-origin web page visited by the victim. The High security mode is not affected.Workaround:
For existing installations running in Standard security mode, set Access-Control-Allow-Credentials to false via the REST API: PATCH /rest/v2/system/settings with body {"supportedOrigins": "null"}. Alternatively, select High security level during initial setup.
Solution:
Update to Nx Witness VMS version 6.1.2 or later, in which Access-Control-Allow-Credentials is set to false in the default Standard security configuration.
📍 영향받는 시스템
Network Optix Nx Witness VMS 6.1.2 이전 모든 버전 (Standard 모드, Linux/Windows)
⚔️ 공격 벡터
피해자가 악의적인 크로스 오리진 웹 페이지 방문 시 백그라운드에서 세션 토큰 탈취
🛡️ 대응 방법
Nx Witness VMS를 6.1.2 이상으로 업그레이드하거나 REST API를 통해 supportedOrigins를 null로 설정
🔧 검증 코드
반환된 버전이 6.1.2 이상이면 패치됨, 그 이하면 업그레이드 필요. API 접근 불가면 서비스 상태 확인 필요
curl -s http://localhost:7001/rest/v2/system/version 2>/dev/null | grep -oP '"version"\s*:\s*"\K[^"]+' || echo 'API not accessible'