Netgate pfSense CE 2.7.0 through 2.9.0 and Plus through 26.07 contains a configuration injection vulnerability that allows authenticated users with IPsec Mobile privileges to execute commands as root via the login_banner field. Attackers can submit a single-line banner containing '}' to escape the unquoted strongswan.conf attr value and define charon.start-scripts entries that charon executes as root on restart.
Attack Parameters
Impact Assessment
CVSS Vector v4.0
Weakness Type (CWE)
Vulnerable Products 1
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Pfsense Pfsense
cpe:2.3:a:pfsense:pfsense:*:*:*:*:community:*:*:*
|
2.7.0
|
<= 2.9.0
|