GitHub Advisoryadvisory · Go

GHSA-256m-j5qw-38f4 Netmaker IDOR Allows User to Update Other User's Password

HIGH Published 2023-08-25 Modified 2023-08-25 Official page ↗
Aliases
CVE-2023-32078
Ecosystem
Go
Packages
github.com/gravitl/netmaker
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-639
Reviewed
2023-08-25

Affected packages

• Go github.com/gravitl/netmaker: < 0.17.1 → fixed in 0.17.1 • Go github.com/gravitl/netmaker: >= 0.18.0, < 0.18.6 → fixed in 0.18.6

Description

Impact An IDOR vulnerability was found in the user update function. By specifying another user's username it is possible to update the other user's password. 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

Related

Alias · CVE (1)

  • CVE-2023-32078 Netmaker makes networks with WireGuard. vulnerability

Weakness · CWE (1)

  • CWE-639 Authorization Bypass Through User-Controlled Key weakness

References