2022-02-17 18:25:37 +00:00
|
|
|
id: hashicorp-consul-agent
|
|
|
|
|
|
|
|
info:
|
2023-04-28 13:11:35 +00:00
|
|
|
name: Hashicorp Consul Agent - Detect
|
2022-02-17 18:25:37 +00:00
|
|
|
author: c-sh0
|
|
|
|
severity: info
|
2023-04-28 13:11:35 +00:00
|
|
|
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.0
|
|
|
|
cwe-id: CWE-200
|
2022-02-17 18:25:37 +00:00
|
|
|
tags: tech,consul,api
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2022-02-17 18:25:37 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-02-17 18:25:37 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/v1/agent/self"
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- '"Datacenter":'
|
|
|
|
- '"Revision":'
|
|
|
|
- '"PrimaryDatacenter"'
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: json
|
|
|
|
json:
|
2023-04-28 13:11:35 +00:00
|
|
|
- " .Config.Version"
|
|
|
|
|
|
|
|
# Enhanced by md on 2023/04/25
|