Lucene search

K
githubGitHub Advisory DatabaseGHSA-8X8H-HCQ8-JWWX
HistoryAug 25, 2023 - 6:38 p.m.

Netmaker has Hardcoded DNS Secret Key

2023-08-2518:38:18
CWE-321
CWE-798
GitHub Advisory Database
github.com
16
netmaker
dns
secret key
hardcoded
patch
docker
gravitl
project discovery

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS

0.136

Percentile

95.7%

Impact

Hardcoded DNS key usage has been found in Netmaker allowing unauth users to interact with DNS API endpoints.

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

Affected configurations

Vulners
Node
gravitlnetmakerRange0.18.00.18.6
OR
gravitlnetmakerRange<0.17.1
VendorProductVersionCPE
gravitlnetmaker*cpe:2.3:a:gravitl:netmaker:*:*:*:*:*:*:*:*

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS

0.136

Percentile

95.7%

Related for GHSA-8X8H-HCQ8-JWWX