Files
sif/modules/recon/dagster-webserver-exposure.yaml
TigahandGitHub b4dec11a52 feat(modules): add dagster and mage exposure modules (#253)
add recon modules for self-hosted data-orchestration webservers that ship no built-in authentication: dagster /server_info discloses the webserver and core versions, and mage /api/status discloses the scheduler status and server repository path; both reach an editor or graphql api on the same instance that can execute arbitrary code.
2026-07-02 12:56:09 -07:00

37 lines
801 B
YAML

# Dagster Webserver Exposure Detection Module
id: dagster-webserver-exposure
info:
name: Dagster Webserver Exposure
author: sif
severity: medium
description: Detects a Dagster webserver that discloses its version and exposes a run-launching graphql api without authentication
tags: [dagster, dagit, data-orchestration, pipeline, mlops, exposure, unauth, recon]
type: http
http:
method: GET
paths:
- "{{BaseURL}}/server_info"
matchers:
- type: word
part: body
words:
- "\"dagster_webserver_version\""
- "\"dagster_version\""
condition: and
- type: status
status:
- 200
extractors:
- type: regex
name: dagster_version
part: body
regex:
- '"dagster_version"\s*:\s*"([^"]+)"'
group: 1