Description
Netgate pfSense CE through 2.9.0 contains an OS command injection vulnerability that allows authenticated users with gateway edit privileges to execute commands as root by injecting shell metacharacters into an IPv6 link-local zone index. Attackers can set a gateway Monitor IP whose unvalidated zone carries a payload, which start_dpinger() passes unescaped to the dpinger shell command when monitoring is applied.
CVSS breakdown
CVSS 4.0
Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Confidentiality (Vulnerable System)
High
Integrity (Vulnerable System)
High
Availability (Vulnerable System)
High
Confidentiality (Subsequent System)
None
Integrity (Subsequent System)
None
Availability (Subsequent System)
None
CVSS 3.1
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected products
- Netgate / pfSense CE0 – 2.9.0
- pfSense / pfsense2.9.0
References
- MISChttps://github.com/abraxas/pfsense-gw-ipv6-zone
- MISChttps://abraxaslabs.tech/research/pfsense-ce-leftovers
- MISChttps://github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/etc/inc/util.inc#L1418
- MISChttps://github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/etc/inc/gwlb.inc#L535
- VENDOR_ADVISORYhttps://www.vulncheck.com/advisories/netgate-pfsense-ce-through-2.9.0-os-command-injection-via-gateway-monitor-ip
Updated 41m ago · 8 sources