2022-10-07 10:14:02 +00:00
|
|
|
id: harbor-panel
|
|
|
|
|
|
|
|
info:
|
2022-11-19 01:50:30 +00:00
|
|
|
name: Harbor Login Panel - Detect
|
2024-07-12 12:04:03 +00:00
|
|
|
author: daffainfo,righettod
|
2022-10-07 10:14:02 +00:00
|
|
|
severity: info
|
2022-11-19 01:50:30 +00:00
|
|
|
description: Harbor login panel was detected.
|
2022-10-07 10:14:02 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/goharbor/harbor
|
2022-11-19 01:50:30 +00:00
|
|
|
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
|
2024-03-26 08:03:04 +00:00
|
|
|
cpe: cpe:2.3:a:linuxfoundation:harbor:*:*:*:*:*:*:*:*
|
2022-10-07 10:14:02 +00:00
|
|
|
metadata:
|
2024-06-07 10:04:29 +00:00
|
|
|
verified: true
|
2024-07-12 16:24:14 +00:00
|
|
|
max-request: 4
|
2024-06-07 10:04:29 +00:00
|
|
|
vendor: linuxfoundation
|
2024-03-23 09:28:19 +00:00
|
|
|
product: harbor
|
2022-10-07 10:14:02 +00:00
|
|
|
shodan-query: http.favicon.hash:657337228
|
2024-06-07 10:04:29 +00:00
|
|
|
fofa-query: icon_hash=657337228
|
2024-07-12 12:04:03 +00:00
|
|
|
tags: panel,harbor,linuxfoundation,detect,login
|
2022-10-07 10:14:02 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-10-07 10:14:02 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
2024-07-12 12:04:03 +00:00
|
|
|
- '{{BaseURL}}/api/v2.0/systeminfo'
|
2024-07-12 12:11:26 +00:00
|
|
|
- '{{BaseURL}}/api/systeminfo'
|
2024-07-12 12:04:03 +00:00
|
|
|
- '{{BaseURL}}/account/sign-in'
|
2024-07-12 12:11:26 +00:00
|
|
|
- '{{BaseURL}}/harbor/sign-in'
|
2024-07-12 12:04:03 +00:00
|
|
|
|
|
|
|
stop-at-first-match: true
|
2022-10-07 10:14:02 +00:00
|
|
|
matchers:
|
2024-07-12 12:04:03 +00:00
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- 'status_code == 200'
|
|
|
|
- 'contains_any(to_lower(body), "<title>harbor</title>", "<harbor-app>", "harbor_version")'
|
2022-10-07 10:14:02 +00:00
|
|
|
condition: and
|
|
|
|
|
2024-07-12 12:04:03 +00:00
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
group: 1
|
|
|
|
regex:
|
2024-07-12 12:11:26 +00:00
|
|
|
- '(?i)"harbor_version":\s*"([a-z0-9.\-]+)"'
|
2024-07-12 16:29:21 +00:00
|
|
|
# digest: 490a0046304402200a08568196b27c6106e1dac397ce1a1d030663bc1b7dcc8c11f85bf61072f9e502201cd675e0474af3c17b2efdfebf898e1491fdd574d486a1f2f4d345a1fa41704b:922c64590222798bb761d5b6d8e72950
|