Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| gravitl / netmaker | affected 0 through 1.7.0 |
CWE
CWE-639
References
- 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
ADP enrichment
No English description supplied.
No references supplied.