Description (CNA)
Netgate pfSense CE 2.5.0 through 2.9.0 contains an OS command injection vulnerability in openvpn.learn-address.sh that allows authenticated VPN clients to execute commands as the unbound user. Attackers can embed shell metacharacters in the certificate common name or username, which is interpolated unquoted into su -c strings, when DNS Resolver client registration is enabled.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Netgate / pfSense CE | affected 2.5.0 through 2.9.0 |
CWE
CWE-78
References
- https://github.com/abraxas/pfsense-ovpn-learn-cn
- https://abraxaslabs.tech/research/pfsense-ce-leftovers
- https://github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/usr/local/sbin/openvpn.learn-address.sh#L57-L62
- https://www.vulncheck.com/advisories/netgate-pfsense-ce-2.5.0-through-2.9.0-os-command-injection-via-openvpn-learn-address-sh
ADP enrichment
No English description supplied.
No references supplied.