35 lines
884 B
YAML
35 lines
884 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
|
|
cvss-score: 0
|
|
cwe-id: CWE-200
|
|
metadata:
|
|
max-request: 1
|
|
vendor: hashicorp
|
|
product: consul
|
|
tags: tech,consul,api,panel
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/v1/agent/self"
|
|
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- '"Datacenter":'
|
|
- '"Revision":'
|
|
- '"PrimaryDatacenter"'
|
|
condition: and
|
|
|
|
extractors:
|
|
- type: json
|
|
json:
|
|
- " .Config.Version"
|
|
# digest: 4a0a00473045022075c0fc986741a6cbc21b3cbd6ff973331e07ab1f182e5219336e0c9e8532f46902210097a99e55dc22027893a6906557854d5105c39f46b0e754a084bc75f0718e0d1f:922c64590222798bb761d5b6d8e72950 |