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

47 lines
1.2 KiB
YAML

id: hashicorp-consul-webgui
info:
name: HashiCorp Consul Web UI Login Panel - Detect
author: c-sh0
severity: info
description: HashiCorp Consul Web UI login panel was detected,
classification:
cvss-metrics: CVSS:3.0/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
product: consul
shodan-query: http.title:"Consul by HashiCorp"
vendor: hashicorp
tags: consul,webserver,panel,hashicorp
http:
- method: GET
path:
- "{{BaseURL}}/ui/"
host-redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- '<title>Consul by HashiCorp</title>'
- '%22%2C%22CONSUL_COPYRIGHT_URL%22%3A%22https%3A%2F%2Fwww.hashicorp.com%22'
condition: or
extractors:
- type: regex
part: body
group: 1
regex:
- "CONSUL_VERSION:.*([0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3})"
# digest: 480a00453043021f367fae79413912eb350565d15f5b3b31a23eabdd1e9960463307e3e893b42102204522211a4dc07af42c884cdda7c4bd6e57cc16107bc17d96c33b534262cfe694:922c64590222798bb761d5b6d8e72950