Vulnerability · Published Aug 24, 2023 · Assigned by GitHub_M
CVE-2023-32078Netmaker IDOR Vulnerability Allows User to Update Other User's Password
High 7.5
In plain English
A high-severity authorization bypass via user-controlled key in netmaker from gravitl. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Netmaker makes networks with WireGuard. An Insecure Direct Object Reference (IDOR) vulnerability was found in versions prior to 0.17.1 and 0.18.6 in the user update function. By specifying another user's username, it was possible to update the other user's password. The 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. As a workaround, someone using version 0.17.1 can pull the latest docker image of the backend and restart the server.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/gravitl/netmaker | 0.17.1 | GHSA-256m-j5qw-38f4 |
| Go | github.com/gravitl/netmaker | 0.18.6 | GHSA-256m-j5qw-38f4 |
| Go | github.com/gravitl/netmaker | 0.17.1, 0.18.6 | GO-2023-2023 |
Affected products (as reported)
Weakness: CWE-639 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
References
- https://github.com/gravitl/netmaker/security/advisories/GHSA-256m-j5qw-38f4 x_refsource_CONFIRM
- https://github.com/gravitl/netmaker/pull/2158 x_refsource_MISC
- https://github.com/gravitl/netmaker/commit/b3be57c65bf0bbfab43b66853c8e3637a43e2839 x_refsource_MISC