mirror of
https://github.com/lunchcat/sif.git
synced 2026-07-28 14:37:01 -07:00
40 lines
979 B
YAML
40 lines
979 B
YAML
# Vaultwarden Version Endpoint Exposure Detection Module
|
|
|
|
id: vaultwarden-version-exposure
|
|
info:
|
|
name: Vaultwarden Version Exposure
|
|
author: sif
|
|
severity: info
|
|
description: Detects a Vaultwarden (unofficial bitwarden-compatible) server that discloses its identity and client-compat version over the pre-login config endpoint; this route is served with no auth guard by design so bitwarden clients can read it before a user logs in
|
|
tags: [vaultwarden, bitwarden, password-manager, fingerprint, version, recon]
|
|
|
|
type: http
|
|
|
|
http:
|
|
method: GET
|
|
paths:
|
|
- "{{BaseURL}}/api/config"
|
|
|
|
matchers:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- '"server"\s*:\s*\{\s*"name"\s*:\s*"Vaultwarden"'
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "\"version\""
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
extractors:
|
|
- type: regex
|
|
name: vaultwarden_version
|
|
part: body
|
|
regex:
|
|
- '"version"\s*:\s*"([^"]+)"'
|
|
group: 1
|