GHSA-ch3w-9456-38v3Medium
Netmaker has Privilege Escalation from Admin to Super-Admin via User Update
🔗 CVE IDs covered (1)
📋 Description
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.
Credits Artem Danilov (Positive Technologies)
🎯 Affected products1
- go/github.com/gravitl/netmaker:< 1.5.0