Files
sif/modules/info/postfixadmin-panel.yaml
TigahandGitHub 80c2574800 feat(recon): add postfixadmin setup and panel fingerprints (#292)
detect a reachable postfixadmin setup.php (unhardened-install signal
and info disclosure, not an auth bypass since superadmin creation is
gated on a locally configured setup password) and the login panel.
markers and the setup-password form field and login field pair with
the brand string so prose mentions do not match.
2026-07-22 12:46:34 -07:00

43 lines
840 B
YAML

# PostfixAdmin Login Panel Detection Module
id: postfixadmin-panel
info:
name: PostfixAdmin Login Panel
author: sif
severity: info
description: Detects an exposed PostfixAdmin mail admin login panel
tags: [postfixadmin, mail, mailserver, admin, panel, login, detection, info]
type: http
http:
method: GET
paths:
- "{{BaseURL}}/login.php"
- "{{BaseURL}}/postfixadmin/login.php"
matchers:
- type: word
part: body
condition: and
words:
- 'name="fUsername"'
- 'name="fPassword"'
- type: regex
part: body
regex:
- "(?i)postfix\\s*admin"
- type: status
status:
- 200
extractors:
- type: regex
name: postfixadmin_version
part: body
regex:
- "Postfix Admin ([0-9]+\\.[0-9]+(?:\\.[0-9]+)?)"
group: 1