mirror of
https://github.com/lunchcat/sif.git
synced 2026-07-28 14:37:01 -07:00
add recon modules for unauthenticated chat uis that leak config or allow open signup without a key: open webui, librechat, anythingllm, and nextchat.
40 lines
817 B
YAML
40 lines
817 B
YAML
# Open WebUI Authentication Disabled Exposure Detection Module
|
|
|
|
id: open-webui-exposure
|
|
info:
|
|
name: Open WebUI Authentication Disabled
|
|
author: sif
|
|
severity: medium
|
|
description: Detects an Open WebUI instance running with authentication disabled, leaving the chat ui and its configured model connections open to anyone
|
|
tags: [open-webui, llm, ai, exposure, recon]
|
|
|
|
type: http
|
|
|
|
http:
|
|
method: GET
|
|
paths:
|
|
- "{{BaseURL}}/api/config"
|
|
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "\"auth_trusted_header\""
|
|
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- '"auth"\s*:\s*false'
|
|
|
|
extractors:
|
|
- type: regex
|
|
name: open_webui_version
|
|
part: body
|
|
regex:
|
|
- '"version"\s*:\s*"([^"]+)"'
|
|
group: 1
|