Netgate pfSense CE 2.7.0 through 2.9.0 and Plus through 26.07 OS Command Injection via Traffic Shaper Limiters
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 Traffic Shaper Limiters privileges to execute root commands by tampering with the limiter number field. Attackers can submit a malicious hidden 'number' value when editing a limiter, then delete it so delete_queue() passes the unquoted value to dnctl via /bin/sh as root.
From the CVE record · VulnCheck
References
- github.com/abraxas/pfsense-limiter-numberExploit
- abraxaslabs.tech/research/pfsense-ce-leftoversIssue tracker
- abraxaslabs.tech/research/pfsense-limiter-numberExploit
- github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/etc/inc/shaper.inc#L3959
- github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/etc/inc/shaper.inc#L3820-L3821
- vulncheck.com/advisories/netgate-pfsense-ce-2.7.0-through-2.9.0-os-command-injection-via-traffic-shaper-limitersAdvisory
- docs.netgate.com/downloads/pfSense-SA-26_25.webgui.asc
- redmine.pfsense.org/issues/17176Patch
- docs.netgate.com/pfsense/en/latest/releases/26-07-1_2-9-1.html