🔍 CVE-2026-58391

5.4
CVSS Score
MEDIUM
2026-10-15
2026-10-20 03:17
✅ 완료

🇰🇷 한글 설명

OPNsense 26.1.11 미만 버전에서 방화벽 규칙 및 NAT 뷰의 HTML title 속성에 특수 문자가 적절히 인코딩되지 않는 취약점이 발견되었습니다. 권한을 가진 사용자가 악의적인 카테고리 이름이나 별칭 설명을 저장하면, 관리자가 해당 페이지를 열 때 스크립트가 실행되어 CSRF 토큰 탈취 및 인증된 동작 수행이 가능합니다.

💡 쉬운 설명

방화벽 설정 화면에 특수 문자가 포함된 이름을 저장하면, 관리자가 그 화면을 볼 때 해커가 심어둔 악성 코드가 몰래 실행될 수 있습니다. 이를 통해 해커는 관리자의 권한을 도용하여 시스템 설정을 변경할 수 있습니다.

🇺🇸 원문 (English)

OPNsense is a FreeBSD based firewall and routing platform. Prior to version 26.1.11, Firewall Rules and NAT views place stored category names and alias descriptions into HTML title attributes in filter_rule.volt and nat_rule.volt without quote-safe encoding. The response layer uses ENT_NOQUOTES, so a double quote survives and closes the attribute, allowing an event-handler attribute to be added to the existing span. A user with Firewall Categories or Firewall Alias Edit privileges can store a category name or alias description; the category must be assigned to a filter or NAT rule, or the alias must be referenced by a rule source or destination, and the rule must be saved so the affected tooltip is rendered. Script then executes in the session of an administrator or other user who opens the affected Rules or NAT page. The script can access CSRF material and perform authenticated actions as the victim. This issue is fixed in version 26.1.11.

📍 영향받는 시스템

OPNsense 26.1.11 미만 버전

⚔️ 공격 벡터

방화벽 카테고리 또는 별칭 편집 권한을 가진 사용자가 악성 스크립트가 포함된 이름을 저장하여 관리자의 브라우저에서 실행 유도

🛡️ 대응 방법

OPNsense를 최신 버전인 26.1.11 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 정보가 26.1.11보다 낮으면 취약한 상태입니다.

Shell / Script
pkg info opnsense/opnsense | grep -E 'version'

📊 CVSS Vector String

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