Files
sif/modules/recon/selenoid-exposure.yaml
T
TigahandGitHub 2a49a72548 feat(modules): add selenium grid and selenoid exposure modules (#255)
add recon modules for self-hosted browser-automation grids that do not
authenticate their status endpoint: selenium grid /status discloses every
registered node with its os and browser slots, and selenoid /status discloses
the running sessions, capacity and browser images; each open grid also lets
anyone create a session that drives a real browser to arbitrary internal urls,
while a grid behind an authenticating proxy returns 401 and is not flagged.
2026-07-02 12:56:15 -07:00

40 lines
851 B
YAML

# Selenoid Browser Grid Exposure Detection Module
id: selenoid-exposure
info:
name: Selenoid Browser Grid Exposure
author: sif
severity: medium
description: Detects a Selenoid browser grid whose status endpoint leaks running sessions and images and lets anyone start a browser container
tags: [selenoid, aerokube, webdriver, browser-automation, ssrf, exposure, unauth, recon]
type: http
http:
method: GET
paths:
- "{{BaseURL}}/status"
matchers:
- type: word
part: body
words:
- "\"total\""
- "\"used\""
- "\"queued\""
- "\"pending\""
- "\"browsers\""
condition: and
- type: status
status:
- 200
extractors:
- type: regex
name: selenoid_browser
part: body
regex:
- '"browsers"\s*:\s*\{\s*"([^"]+)"'
group: 1