Netmaker: Privilege Escalation from Admin to Super-Admin via User Update
gravitl netmaker
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/gravitl/netmaker Go |
|
|
Original description
Netmaker makes networks with WireGuard. Prior to version 1.5.0, the user update handler (PUT /api/users/{username}) lacks validation to prevent an admin-role user from assigning the super-admin role during account updates. While the code correctly blocks an admin from assigning the admin role to another user, it does not include an equivalent check for the super-admin role. This issue has been patched in version 1.5.0.
From the CVE record · GitHub_M