Description
Netmaker through 1.7.0 contains an authorization bypass vulnerability in the updateExtClient handler that allows network-scoped users to modify external clients on other networks. Attackers with external client permissions on one network can send PUT requests to /api/extclients/{network}/{clientid} to replace public keys, disable clients, and obtain WireGuard private keys.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
gravitl netmaker
Default version status: unaffected
0 to ≤ 1.7.0affected
pkg:golang/github.com/gravitl/netmakerReferences
- https://github.com/gravitl/netmaker/issues/3875 ↗
- https://github.com/gravitl/netmaker/pull/4153 ↗
- https://github.com/gravitl/netmaker/commit/332d8b9bab030ee65e78b9141259e4e0e80ac4b0 ↗
- https://github.com/gravitl/netmaker/blob/v1.7.0/controllers/ext_client.go#L879 ↗
- https://github.com/gravitl/netmaker ↗
- https://www.vulncheck.com/advisories/netmaker-through-1.7.0-authorization-bypass-via-updateextclient-unscoped-lookup ↗