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
803 B
YAML
37 lines
803 B
YAML
# Roundcube Webmail Detection Module
|
|
|
|
id: roundcube-webmail
|
|
info:
|
|
name: Roundcube Webmail
|
|
author: sif
|
|
severity: info
|
|
description: Detects a reachable Roundcube webmail login interface via its product string and rcmail JS bootstrap, and extracts the version when the admin has enabled its display
|
|
tags: [roundcube, webmail, groupware, mail, detection, info]
|
|
|
|
type: http
|
|
|
|
http:
|
|
method: GET
|
|
paths:
|
|
- "{{BaseURL}}/?_task=login"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "Roundcube Webmail"
|
|
- "new rcube_webmail()"
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
extractors:
|
|
- type: regex
|
|
name: roundcube_version
|
|
part: body
|
|
regex:
|
|
- 'Roundcube Webmail\s+([0-9]+\.[0-9]+(?:\.[0-9]+)?)'
|
|
group: 1
|