46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
|
id: thruk-panel
|
||
|
|
||
|
info:
|
||
|
name: Thruk Login Panel - Detect
|
||
|
author: ffffffff0x,righettod
|
||
|
severity: info
|
||
|
description: Thruk Monitoring panel was detected.
|
||
|
reference:
|
||
|
- https://thruk.org/
|
||
|
classification:
|
||
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
|
||
|
cwe-id: CWE-200
|
||
|
cpe: cpe:2.3:a:thruk:thruk:*:*:*:*:*:*:*:*
|
||
|
metadata:
|
||
|
max-request: 6
|
||
|
vendor: thruk
|
||
|
product: thruk
|
||
|
fofa-query:
|
||
|
- title=="Thruk Monitoring Webinterface"
|
||
|
- title=="thruk monitoring webinterface"
|
||
|
- body="thruk"
|
||
|
shodan-query: http.html:"thruk" || http.title:"thruk monitoring webinterface"
|
||
|
tags: thruk,panel,login
|
||
|
|
||
|
http:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "{{BaseURL}}/"
|
||
|
|
||
|
redirects: true
|
||
|
max-redirects: 6
|
||
|
|
||
|
matchers:
|
||
|
- type: dsl
|
||
|
dsl:
|
||
|
- 'status_code == 200 || status_code == 401'
|
||
|
- 'contains_any(to_lower(body), "<title>thruk monitoring webinterface</title>", "<title>thruk - monitoring webinterface</title>", "thruk_static_export") || contains_any(to_lower(header), "x-thruk-auth-key", "thruk_test=")'
|
||
|
condition: and
|
||
|
|
||
|
extractors:
|
||
|
- type: regex
|
||
|
part: body
|
||
|
group: 1
|
||
|
regex:
|
||
|
- '(?i)version_info\s*=\s*.?([a-z0-9./\s.-]+).?'
|