Files
sif/modules/recon/haproxy-stats-exposure.yaml
T
TigahandGitHub 243e0aba16 feat(modules): add haproxy stats, nexus and pushgateway exposure modules (#301)
* feat(modules): add haproxy stats, nexus and pushgateway exposure modules

* chore(modules): trim redundant module header comments

drop the top-line comments on the new infra exposure modules that
just restated the id/name fields already in the info block
2026-07-22 12:48:13 -07:00

35 lines
830 B
YAML

id: haproxy-stats-exposure
info:
name: HAProxy Stats Page Exposure
author: sif
severity: medium
description: Detects an HAProxy statistics dashboard left reachable at its compiled-in default uri without stats auth configured, exposing backend server names, internal addresses, health state and session counts
tags: [haproxy, loadbalancer, reverse-proxy, dashboard, api, exposure, unauth, recon]
type: http
http:
method: GET
paths:
- "{{BaseURL}}/haproxy?stats"
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- "Statistics Report for"
- "HAProxy version"
condition: and
extractors:
- type: regex
name: haproxy_version
part: body
regex:
- 'HAProxy version\s+([0-9]+(?:\.[0-9]+)+)'
group: 1