mirror of
https://github.com/lunchcat/sif.git
synced 2026-07-28 22:40:54 -07:00
fingerprint roundcube via its login-page body markers and zimbra via its web client markers, both anded with status 200 and prose-trap negatives to avoid matching pages that merely mention the products.
37 lines
891 B
YAML
37 lines
891 B
YAML
# Zimbra Collaboration Suite Webmail Detection Module
|
|
|
|
id: zimbra-webmail
|
|
info:
|
|
name: Zimbra Collaboration Suite Webmail
|
|
author: sif
|
|
severity: info
|
|
description: Detects a Zimbra Collaboration Suite webmail install by requesting the unauthenticated static ZmSettings.js client bootstrap and extracts the deployed CLIENT_VERSION build string
|
|
tags: [zimbra, webmail, groupware, mail, detection, info]
|
|
|
|
type: http
|
|
|
|
http:
|
|
method: GET
|
|
paths:
|
|
- "{{BaseURL}}/js/zimbraMail/share/model/ZmSettings.js"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "Zimbra Collaboration Suite Web Client"
|
|
- "CLIENT_VERSION"
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
extractors:
|
|
- type: regex
|
|
name: zimbra_version
|
|
part: body
|
|
regex:
|
|
- '"CLIENT_VERSION"\s*,\s*\{[^}]*defaultValue:"([^"@][^"]*)"'
|
|
group: 1
|