🇰🇷 한글 설명
OPNsense 26.1.9 이전 버전에는 저장형 크로스사이트 스크립팅(XSS) 취약점이 존재합니다. 인증된 공격자는 trust certificate API의 인증서 설명 필드에 악성 HTML/JavaScript를 삽입할 수 있으며, 이 값은 이스케이프 없이 저장되어 대시보드 Certificates 위젯에서 렌더링될 때 실행됩니다. 이로 인해 대시보드를 보는 다른 인증된 사용자의 브라우저에서 스크립트가 실행되어 세션 하이재킹이나 자격 증명 탈취가 가능합니다.
💡 쉬운 설명
로그인한 공격자가 인증서 설명란에 악성 코드를 숨겨 넣을 수 있습니다. 다른 관리자가 대시보드를 열면 그 코드가 실행되어 계정 정보가 빼앗길 수 있습니다.
🇺🇸 원문 (English)
OPNsense before 26.1.9 contains a stored cross-site scripting vulnerability that allows authenticated attackers to inject arbitrary HTML or JavaScript by embedding payloads in the certificate description field via the trust certificate API. The unsanitized description value is persisted and later rendered in the Dashboard Certificates widget through Certificates.js, which interpolates the raw value into HTML attribute and text content sinks without encoding, causing injected scripts to execute in the browser of any authenticated user who views the Dashboard, enabling session hijacking or credential theft.
📍 영향받는 시스템
OPNsense 26.1.9 미만 버전
⚔️ 공격 벡터
인증된 사용자가 trust certificate API로 인증서 설명 필드에 악성 스크립트를 저장하고, 대시보드를 보는 다른 사용자의 브라우저에서 실행되게 함
🛡️ 대응 방법
OPNsense를 26.1.9 이상으로 업데이트
🔧 검증 코드
출력된 버전이 26.1.9 이상이면 패치 적용된 상태이고, 26.1.9 미만이면 취약한 상태입니다.
opnsense-version 2>/dev/null | grep -E 'OPNsense'