47 lines
1.4 KiB
YAML
47 lines
1.4 KiB
YAML
id: vault-panel
|
|
|
|
info:
|
|
name: Vault Login Panel - Detect
|
|
author: DhiyaneshDK,righettod
|
|
severity: info
|
|
description: Vault login panel was detected.
|
|
reference:
|
|
- https://developer.hashicorp.com/vault
|
|
- https://developer.hashicorp.com/vault/api-docs
|
|
- https://developer.hashicorp.com/vault/api-docs#help
|
|
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:vault:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 4
|
|
vendor: hashicorp
|
|
product: vault
|
|
shodan-query: http.favicon.hash:-919788577
|
|
fofa-query: icon_hash=-919788577
|
|
tags: panel,vault,detect,hashicorp
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/v1/sys/health"
|
|
- "{{BaseURL}}/ui/vault/auth"
|
|
- "{{BaseURL}}/ui/auth"
|
|
- "{{BaseURL}}/v1/sys/health?help=1"
|
|
|
|
stop-at-first-match: true
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'status_code == 200 || status_code == 429'
|
|
- 'contains_any(to_lower(body), "vault-cluster", "vault/config/environment", "<title>vault</title>", "hashicorp vault api")'
|
|
condition: and
|
|
|
|
extractors:
|
|
- type: json
|
|
part: body_1
|
|
name: version
|
|
json:
|
|
- ".version"
|
|
# digest: 4a0a00473045022100ea204e5033384f5a14acc41e5bdb980030a1ed940a5932a99bf3ee0287cda0be02206f3edf188a83342fdaf57d304208009d0d96548b6e2d28d2e2efc9e2af6a5c03:922c64590222798bb761d5b6d8e72950 |