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
887 B
YAML
45 lines
887 B
YAML
# H2O Cluster Exposure Detection Module
|
|
|
|
id: h2o-cluster-exposure
|
|
info:
|
|
name: H2O Cluster Exposure
|
|
author: sif
|
|
severity: critical
|
|
description: Detects an exposed H2O machine learning cluster (H2O Flow) reachable without authentication; H2O permits arbitrary code execution, so a reachable node allows takeover of the cluster
|
|
tags: [h2o, ai, ml, automl, exposure, recon]
|
|
|
|
type: http
|
|
|
|
http:
|
|
method: GET
|
|
paths:
|
|
- "{{BaseURL}}/3/Cloud"
|
|
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "\"cloud_name\""
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "\"cloud_uptime_millis\""
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "\"build_too_old\""
|
|
|
|
extractors:
|
|
- type: regex
|
|
name: h2o_version
|
|
part: body
|
|
regex:
|
|
- '"version"\s*:\s*"([^"]+)"'
|
|
group: 1
|