Files
sif/modules/recon/verba-health-exposure.yaml
TigahandGitHub abcc22de38 feat(modules): detect exposed rag and knowledge apps (#238)
add recon modules for unauthenticated rag/search apps that leak config or health without a key: perplexica, verba, onyx, and fastgpt.
2026-07-02 17:00:44 -07:00

45 lines
1.1 KiB
YAML

# Verba RAG Health Exposure Detection Module
id: verba-health-exposure
info:
name: Verba Health Exposure
author: sif
severity: high
description: Detects an exposed Verba rag application; its health endpoint is intentionally exempt from the optional auth and, in the default Local mode, embeds the configured Weaviate cluster url and api key in cleartext, leaking the backend vector-database credentials. Fires only when a backend url is actually populated in the response
tags: [verba, weaviate, llm, ai, rag, vector, exposure, recon]
type: http
http:
method: GET
paths:
- "{{BaseURL}}/api/health"
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- "\"WEAVIATE_API_KEY_VERBA\""
- type: regex
part: body
regex:
- '"WEAVIATE_URL_VERBA"\s*:\s*"[^"]+'
- type: word
part: body
words:
- "\"default_deployment\""
extractors:
- type: regex
name: verba_weaviate_url
part: body
regex:
- '"WEAVIATE_URL_VERBA"\s*:\s*"([^"]+)"'
group: 1