44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
id: harbor-panel
|
|
|
|
info:
|
|
name: Harbor Login Panel - Detect
|
|
author: daffainfo,righettod
|
|
severity: info
|
|
description: Harbor login panel was detected.
|
|
reference:
|
|
- https://github.com/goharbor/harbor
|
|
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:linuxfoundation:harbor:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: linuxfoundation
|
|
product: harbor
|
|
shodan-query: http.favicon.hash:657337228
|
|
fofa-query: icon_hash=657337228
|
|
tags: panel,harbor,linuxfoundation,detect,login
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/api/v2.0/systeminfo'
|
|
- '{{BaseURL}}/account/sign-in'
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'status_code == 200'
|
|
- 'contains_any(to_lower(body), "<title>harbor</title>", "<harbor-app>", "harbor_version")'
|
|
condition: and
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
group: 1
|
|
regex:
|
|
- '(?i)"harbor_version":"([a-z0-9.\-]+)"'
|