Description
OPNsense core before 26.7.8 contains a configuration line injection vulnerability that allows authenticated users with wireless-edit privilege to inject directives by embedding CR/LF characters in WPA fields. Attackers can place newlines in wpa.identity, wpa.passphrase, or RADIUS shared secrets to append arbitrary wpa_supplicant or hostapd directives loaded by root-run daemons.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
opnsense core
Default version status: unaffected
0 to < 26.7.8affected
pkg:github/opnsense/coreReferences
- https://github.com/opnsense/core/commit/9f1eac0f9bdf705766ab61f9d62b9d55757fd0da ↗
- https://github.com/opnsense/core/commit/3bbd714b4c4b60f164e2e908501f208d3eadf645 ↗
- https://github.com/opnsense/core/blob/26.7.7/src/opnsense/mvc/app/models/OPNsense/Interfaces/Wlan.xml#L185 ↗
- https://github.com/opnsense/core/blob/26.7.7/src/etc/inc/interfaces.inc#L1901 ↗
- https://abraxaslabs.tech/research/opnsense-wlan-wpa-line ↗
- https://github.com/opnsense/core ↗
- https://www.vulncheck.com/advisories/opnsense-before-26.7.8-wireless-wpa-configuration-line-injection-via-identity ↗