nuclei-templates/http/exposed-panels/hashicorp-consul-agent.yaml

35 lines
926 B
YAML

id: hashicorp-consul-agent
info:
name: Hashicorp Consul Agent - Detect
author: c-sh0
severity: info
description: Hashicorp Consul Agent was detected.
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
cwe-id: CWE-200
cpe: cpe:2.3:a:hashicorp:consul:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: hashicorp
product: consul
tags: tech,consul,api,panel,hashicorp
http:
- method: GET
path:
- "{{BaseURL}}/v1/agent/self"
matchers:
- type: word
words:
- '"Datacenter":'
- '"Revision":'
- '"PrimaryDatacenter"'
condition: and
extractors:
- type: json
json:
- " .Config.Version"
# digest: 490a00463044022007ff45a367844ca7e0cfa9f3c151dcc53b95f8eb8914c9a7ad41e5e49c974854022054107b0050f915d6c3afe2cc67d240233838054d050323d76b43e6e279c1bdab:922c64590222798bb761d5b6d8e72950