mirror of
https://github.com/lunchcat/sif.git
synced 2026-07-28 14:37:01 -07:00
add recon modules for unauthenticated annotation servers that leak projects or config without a key: cvat and label studio.
40 lines
779 B
YAML
40 lines
779 B
YAML
# Label Studio Exposure Detection Module
|
|
|
|
id: label-studio-exposure
|
|
info:
|
|
name: Label Studio Exposure
|
|
author: sif
|
|
severity: low
|
|
description: Detects an exposed Label Studio instance that discloses its release and build over the unauthenticated version api
|
|
tags: [label-studio, ai, ml, mlops, exposure, recon]
|
|
|
|
type: http
|
|
|
|
http:
|
|
method: GET
|
|
paths:
|
|
- "{{BaseURL}}/api/version/"
|
|
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "\"label-studio-os-package\""
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "\"label-studio-os-backend\""
|
|
|
|
extractors:
|
|
- type: regex
|
|
name: label_studio_release
|
|
part: body
|
|
regex:
|
|
- '"release"\s*:\s*"([^"]+)"'
|
|
group: 1
|