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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| opnsense | core | < 26.7.8 | 26.7.8 |
References
- https://github.com/opnsense/core/commit/9f1eac0f9bdf705766ab61f9d62b9d55757fd0da patch
- https://github.com/opnsense/core/commit/3bbd714b4c4b60f164e2e908501f208d3eadf645 patch
- https://github.com/opnsense/core/blob/26.7.7/src/opnsense/mvc/app/models/OPNsense/Interfaces/Wlan.xml#L185 technical-description
- https://github.com/opnsense/core/blob/26.7.7/src/etc/inc/interfaces.inc#L1901 technical-description
- https://abraxaslabs.tech/research/opnsense-wlan-wpa-line third-party-advisory
- https://github.com/opnsense/core product
- VulnCheck Advisory: OPNsense before 26.7.8 Wireless WPA Configuration Line Injection via Identity third-party-advisory