mirror of
https://github.com/lunchcat/sif.git
synced 2026-07-28 14:37:01 -07:00
add recon modules for self-hosted training and experiment-tracking platforms reachable without auth: mlflow, tensorboard, aim, and determined disclose experiments, the artifact store, training run paths, and cluster topology over unauthenticated apis.
52 lines
1.0 KiB
YAML
52 lines
1.0 KiB
YAML
# TensorBoard Exposure Detection Module
|
|
|
|
id: tensorboard-exposure
|
|
info:
|
|
name: TensorBoard Exposure
|
|
author: sif
|
|
severity: medium
|
|
description: Detects an exposed TensorBoard instance; its unauthenticated data api discloses the training run source path and server version, and serves all logged scalars, graphs, images, and embeddings
|
|
tags: [tensorboard, ai, ml, mlops, training, exposure, recon]
|
|
|
|
type: http
|
|
|
|
http:
|
|
method: GET
|
|
paths:
|
|
- "{{BaseURL}}/data/environment"
|
|
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "\"data_location\""
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "\"window_title\""
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "\"version\""
|
|
|
|
extractors:
|
|
- type: regex
|
|
name: tensorboard_version
|
|
part: body
|
|
regex:
|
|
- '"version"\s*:\s*"([^"]+)"'
|
|
group: 1
|
|
|
|
- type: regex
|
|
name: tensorboard_data_location
|
|
part: body
|
|
regex:
|
|
- '"data_location"\s*:\s*"([^"]+)"'
|
|
group: 1
|