Files
sif/modules/recon/xtts-api-server-exposure.yaml
T
TigahandGitHub 84ae3a7168 feat(modules): detect exposed ai speech servers (#245)
add recon modules for self-hosted speech inference servers that are exposed without authentication: speaches (faster-whisper successor, speech-to-text and text-to-speech) keyed on its non-openai model task field, and xtts-api-server keyed on its get-folders endpoint that discloses local filesystem paths.
2026-07-02 12:55:52 -07:00

45 lines
1.0 KiB
YAML

# XTTS API Server Exposure Detection Module
id: xtts-api-server-exposure
info:
name: XTTS API Server Exposure
author: sif
severity: medium
description: Detects an exposed xtts-api-server text-to-speech server reachable without authentication; its get-folders endpoint discloses the server's local speaker, model, and output filesystem paths, and the open api accepts unauthenticated voice cloning, model switching, and speaker and output folder changes
tags: [xtts, coqui, tts, voice-cloning, speech, ai, inference, api, exposure, recon]
type: http
http:
method: GET
paths:
- "{{BaseURL}}/get_folders"
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- "\"speaker_folder\""
- type: word
part: body
words:
- "\"model_folder\""
- type: word
part: body
words:
- "\"output_folder\""
extractors:
- type: regex
name: xtts_model_folder
part: body
regex:
- '"model_folder"\s*:\s*"([^"]+)"'
group: 1