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
940 B
YAML
45 lines
940 B
YAML
# Meilisearch Exposure Detection Module
|
|
|
|
id: meilisearch-exposure
|
|
info:
|
|
name: Meilisearch Exposure
|
|
author: sif
|
|
severity: high
|
|
description: Detects a Meilisearch instance running without a master key; a 200 from the version endpoint means every route is public, allowing unauthenticated read and write of all indexed data including its vector and semantic search store
|
|
tags: [meilisearch, vector, ai, search, exposure, recon]
|
|
|
|
type: http
|
|
|
|
http:
|
|
method: GET
|
|
paths:
|
|
- "{{BaseURL}}/version"
|
|
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "\"commitSha\""
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "\"commitDate\""
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "\"pkgVersion\""
|
|
|
|
extractors:
|
|
- type: regex
|
|
name: meilisearch_version
|
|
part: body
|
|
regex:
|
|
- '"pkgVersion"\s*:\s*"([^"]+)"'
|
|
group: 1
|