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

40 lines
1.1 KiB
YAML
Raw Normal View History

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
shodan-query:
- http.title:"consul by hashicorp"
- cpe:"cpe:2.3:a:hashicorp:consul"
fofa-query: title="consul by hashicorp"
google-query: intitle:"consul by hashicorp"
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: 4a0a00473045022100dc944c1766e63e43358f235fc8463503d4de324f999d2591c9d09a08eee768b8022014962c2622a33083e555815d9cd265bb5e818ed5c591d43f42b645c9d44d3cf2:922c64590222798bb761d5b6d8e72950