by @mweinelt Activity log
- Created automatic suggestion
- @mweinelt accepted
- @mweinelt published on GitHub
Netmaker: Insufficient Authorization in Host Token Verification
Netmaker makes networks with WireGuard. Prior to version 1.5.0, the Authorize middleware in Netmaker incorrectly validates host JWT tokens. When a route permits host authentication (hostAllowed=true), a valid host token bypasses all subsequent authorization checks without verifying that the host is authorized to access the specific requested resource. Any entity possessing knowledge of object identifiers (node IDs, host IDs) can craft a request with an arbitrary valid host token to access, modify, or delete resources belonging to other hosts. Affected endpoints include node info retrieval, host deletion, MQTT signal transmission, fallback host updates, and failover operations. This issue has been patched in version 1.5.0.
References
-
https://github.com/gravitl/netmaker/security/advisories/GHSA-hmqr-wjmj-376c x_refsource_CONFIRM
-
https://github.com/gravitl/netmaker/releases/tag/v1.5.0 x_refsource_MISC
Affected products
- ==< 1.5.0
Matching in nixpkgs
pkgs.netmaker
WireGuard automation from homelab to enterprise
Package maintainers
-
@urandom2 Colin Arnott <colin@urandom.co.uk>
-
@qjoly Quentin JOLY <github@une-pause-cafe.fr>