mirror of
https://github.com/lunchcat/sif.git
synced 2026-07-28 14:37:01 -07:00
add recon modules for self-hosted vector and semantic search engines reachable without auth: marqo, vespa, and meilisearch each allow unauthenticated read and write of the indexed data, and their root or version endpoints disclose the build.
45 lines
973 B
YAML
45 lines
973 B
YAML
# Vespa Container Exposure Detection Module
|
|
|
|
id: vespa-status-exposure
|
|
info:
|
|
name: Vespa Container Exposure
|
|
author: sif
|
|
severity: high
|
|
description: Detects an exposed Vespa container reachable without authentication; Vespa defaults to no auth, allowing unauthenticated reads and writes to the indexed data, and its status endpoint leaks the application topology and version
|
|
tags: [vespa, vector, ai, ml, search, exposure, recon]
|
|
|
|
type: http
|
|
|
|
http:
|
|
method: GET
|
|
paths:
|
|
- "{{BaseURL}}/ApplicationStatus"
|
|
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "\"abstractComponents\""
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "\"processingChains\""
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "\"httpRequestFilters\""
|
|
|
|
extractors:
|
|
- type: regex
|
|
name: vespa_version
|
|
part: body
|
|
regex:
|
|
- '"version"\s*:\s*"([0-9][^"]*)"'
|
|
group: 1
|