Netgate pfSense CE 2.7.0 through 2.9.0 and Plus through 26.07 OS Command Injection via interfaces_qinq_edit.php
Netgate pfSense CE · Netgate pfSense Plus
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Netgate pfSense CE |
| No fix yet |
| Netgate pfSense Plus |
| No fix yet |
Original description
Netgate pfSense CE 2.7.0 through 2.9.0 and Plus through 26.07 contains an OS command injection vulnerability that allows authenticated users with QinQ edit privilege to run commands by storing an unvalidated parent interface name. Attackers can save a crafted 'if' value, then edit the QinQ entry so it is interpolated into ifconfig shell commands, executing commands as root.
From the CVE record · VulnCheck
References
- github.com/abraxas/pfsense-qinq-parent-ifExploit
- abraxaslabs.tech/research/pfsense-ce-leftoversIssue tracker
- abraxaslabs.tech/research/pfsense-qinq-parent-ifExploit
- github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/usr/local/www/interfaces_qinq_edit.php#L136
- github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/usr/local/www/interfaces_qinq_edit.php#L212
- github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/etc/inc/interfaces.inc#L620
- vulncheck.com/advisories/netgate-pfsense-ce-2.7.0-through-2.9.0-os-command-injection-via-interfaces-qinq-edit-phpAdvisory
- docs.netgate.com/downloads/pfSense-SA-26_23.webgui.asc
- redmine.pfsense.org/issues/17170Patch
- docs.netgate.com/pfsense/en/latest/releases/26-07-1_2-9-1.html