35 lines
846 B
YAML
35 lines
846 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
|
|
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: 4b0a00483046022100df622757742e87d8eb9b55580ad0f3d967294cc33714653f27d21f88f6823ee3022100d73d7dc1c70f59722a2ca8e9e8140b808cc83445a9fb519ce8cf89bd1937d737:922c64590222798bb761d5b6d8e72950
|