Netmaker IDOR Allows User to Update Other User's Password
GHSA-256m-j5qw-38f4 · CVE-2023-32078 · GO-2023-2023
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
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
References
- WEB https://github.com/gravitl/netmaker/security/advisories/GHSA-256m-j5qw-38f4
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2023-32078
- WEB https://github.com/gravitl/netmaker/pull/2158
- WEB https://github.com/gravitl/netmaker/commit/b3be57c65bf0bbfab43b66853c8e3637a43e2839
- PACKAGE https://github.com/gravitl/netmaker
Ready to move
Start Securing
Free, no credit card | First findings in minutes