Skip to content
High 8.1

OPNsenseで設定ファイルに不正な行を混入される脆弱性

CVE-2026-57154 First seen on SecPulse

Summary

認証済みで権限を委任された利用者が、GUIやAPIの複数のテキスト欄に改行文字を入れると、特権で動くサービスの設定ファイルに攻撃者の指示行を追加できます。Monitのメールパスワード欄では、root権限でのコマンド実行が確認されています。修正版は26.1.11と26.4.1p1です。対象の版を使っている場合は、早めに修正版へ更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

認証済みで権限を委任された利用者が、GUIやAPIの複数のテキスト欄に改行文字を入れると、特権で動くサービスの設定ファイルに攻撃者の指示行を追加できます。Monitのメールパスワード欄では、root権限でのコマンド実行が確認されています。修正版は26.1.11と26.4.1p1です。対象の版を使っている場合は、早めに修正版へ更新してください。

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details