🔍 CVE-2026-57154

8.1
CVSS Score
HIGH
2026-11-03
2026-11-03 19:18
✅ 완료

🇰🇷 한글 설명

OPNsense 방화벽은 26.1.11 및 26.4.1p1 이전 버전에서, 위임된 권한을 가진 인증 사용자가 한 줄만 입력해야 하는 필드에 CR 또는 LF 문자를 삽입할 수 있습니다. 이로 인해 Dnsmasq, Monit 등 특권 서비스의 설정 파일에 공격자가 제어하는 추가 지시문이 기록될 수 있으며, Monit 경로에서는 root 권한 명령 실행이 확인되었습니다. 이 문제는 26.1.11 및 26.4.1p1에서 수정되었습니다.

💡 쉬운 설명

권한이 일부 부여된 관리 계정이 입력란에 줄바꿈 문자를 넣어 시스템 설정 파일에 임의의 명령을 끼워 넣을 수 있는 취약점입니다. 공격에 성공하면 본래 권한을 넘어 시스템 전체를 장악당할 수 있습니다.

🇺🇸 원문 (English)

OPNsense is a FreeBSD based firewall and routing platform. Prior to 26.1.11 and 26.4.1p1, authenticated Web UI or API users with delegated access to affected settings can submit CR or LF characters in fields expected to contain one line, causing generated privileged service configuration files to contain additional attacker-controlled directives or policy lines. The confirmed Dnsmasq path includes dhcp_boot.filename, dhcp_boot.servername, dhcp_boot.address, and dhcp_options.value, which are rendered into /usr/local/etc/dnsmasq.conf; access through page-services-dnsforwarder covers api/dnsmasq/*. Related affected fields span OpenVPN, DHCPv6, Unbound, IPsec, NTP, PPP or MPD, Monit, firewall, sudo, WebGUI, and System General configuration. Applying or restarting the affected service can alter behavior beyond the delegated setting, create service-side files, cross RBAC boundaries, or cause denial of service. Line injection through Monit mail password and adjacent Monit text fields into /usr/local/etc/monitrc demonstrated root command execution. Arbitrary shell command execution was not confirmed for the Dnsmasq path. This issue is fixed in versions 26.1.11 and 26.4.1p1.

📍 영향받는 시스템

OPNsense 26.1.11 미만 및 26.4.1p1 미만 버전

⚔️ 공격 벡터

위임된 권한을 가진 인증 사용자가 웹 UI 또는 API에서 한 줄 입력 필드에 CR/LF 문자를 넣어 특권 서비스 설정 파일에 악성 지시문을 삽입

🛡️ 대응 방법

OPNsense를 26.1.11 또는 26.4.1p1 이상으로 업데이트하고, 불필요한 관리 권한을 회수

🔧 검증 코드

출력된 버전이 26.1.11 또는 26.4.1p1 이상이면 수정된 버전이며, 그보다 낮으면 취약한 버전이므로 즉시 업데이트가 필요합니다.

Shell / Script
opnsense-version 2>/dev/null | grep -E '^OPNsense'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Sudo