CVE-2023-32079

high
Published 2023-08-24 · Modified 2026-03-03
CVSS v3
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4 NEW
not yet in upstream
VIR risk
8.8

Description

Netmaker Vulnerable to Privilege Escalation From Non Admin To Admin User in github.com/gravitl/netmaker

Predictions

Exploit likelihood
92%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: GitHub Security Advisory · View original ↗ · CC-BY-4.0

<h3>Netmaker Vulnerable to Privilege Escalation From Non Admin To Admin User</h3> 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…

Workaround

s If using 0.17.1, can just pull the latest docker image of backend and restart server. References

<h3>Netmaker Vulnerable to Privilege Escalation From Non Admin To Admin User</h3>

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

Apply commands

bash fix
Upgrade github.com/gravitl/netmaker to 0.18.6
go get github.com/gravitl/netmaker@0.18.6

Affected

VendorProductVersion
gogithub.com/gravitl/netmaker>= 0.18.0, < 0.18.6
gogithub.com/gravitl/netmaker< 0.17.1

Package impact

EcosystemPackageVulnerableFixed
golang Gogithub.com/gravitl/netmaker<0.17.10.17.1
golang Gogithub.com/gravitl/netmaker>=0.18.0,<0.18.60.18.6

Application impact

VendorProductVersionsFixed
netmakernetmaker{"endExcluding":"0.17.1"}0.17.1

References

CWEs

CWE-915

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.