github.com/gravitl/netmaker
Affected
- introduced
0, fixed0.17.1(semver)
Fixed versions
0.17.1
Fix
- Fixed version
0.17.1go get github.com/gravitl/[email protected]
Advisory
Also known as: CVE-2023-32079, GO-2023-2025
Netmaker Vulnerable to Privilege Escalation From Non Admin To Admin User
Impact
A Mass assignment vulnerability was found allowing a non-admin user to escalate privileges to admin user.
Patches
Issue is patched in 0.17.1, and fixed in 0.18.6+.
If Users are using 0.17.1, they should run "docker pull gravitl/netmaker:v0.17.1" and "docker-compose up -d". This will switch them to the patched users
If users are using v0.18.0-0.18.5, they should upgrade to v0.18.6 or later.
Workarounds
If using 0.17.1, can just pull the latest docker image of backend and restart server.
References
Credit to Project Discovery, and in particular https://github.com/rootxharsh , https://github.com/iamnoooob, and https://github.com/projectdiscovery
High Basis: The source's own band: HIGH
0, fixed 0.17.1 (semver)0.17.1
0.17.1go get github.com/gravitl/[email protected]0.18.0, fixed 0.18.6 (semver)0.18.6
0.18.6go get github.com/gravitl/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0