mirror of
https://github.com/lunchcat/sif.git
synced 2026-07-28 14:37:01 -07:00
add recon modules for unauthenticated ml platforms that leak cluster or deployment info without a key: h2o, mindsdb, and zenml.
45 lines
890 B
YAML
45 lines
890 B
YAML
# ZenML Server Exposure Detection Module
|
|
|
|
id: zenml-server-exposure
|
|
info:
|
|
name: ZenML Server Exposure
|
|
author: sif
|
|
severity: medium
|
|
description: Detects an exposed ZenML MLOps server over its unauthenticated info endpoint, disclosing the version and deployment topology including the database and secrets-store backends
|
|
tags: [zenml, ai, ml, mlops, exposure, recon]
|
|
|
|
type: http
|
|
|
|
http:
|
|
method: GET
|
|
paths:
|
|
- "{{BaseURL}}/api/v1/info"
|
|
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "\"deployment_type\""
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "\"secrets_store_type\""
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "\"auth_scheme\""
|
|
|
|
extractors:
|
|
- type: regex
|
|
name: zenml_version
|
|
part: body
|
|
regex:
|
|
- '"version"\s*:\s*"([^"]+)"'
|
|
group: 1
|