mirror of
https://github.com/lunchcat/sif.git
synced 2026-07-28 14:37:01 -07:00
add recon modules for unauthenticated rag/search apps that leak config or health without a key: perplexica, verba, onyx, and fastgpt.
45 lines
936 B
YAML
45 lines
936 B
YAML
# FastGPT Init Data Exposure Detection Module
|
|
|
|
id: fastgpt-init-exposure
|
|
info:
|
|
name: FastGPT Init Data Exposure
|
|
author: sif
|
|
severity: medium
|
|
description: Detects an exposed FastGPT knowledge-base chat platform; its init endpoint discloses the public system config, feature flags, and the configured model providers without authentication
|
|
tags: [fastgpt, llm, ai, rag, chat, ui, exposure, recon]
|
|
|
|
type: http
|
|
|
|
http:
|
|
method: GET
|
|
paths:
|
|
- "{{BaseURL}}/api/common/system/getInitData"
|
|
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "\"feConfigs\""
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "\"modelProviders\""
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "\"aiproxyChannels\""
|
|
|
|
extractors:
|
|
- type: regex
|
|
name: fastgpt_title
|
|
part: body
|
|
regex:
|
|
- '"systemTitle"\s*:\s*"([^"]+)"'
|
|
group: 1
|