nuclei-templates/http/exposed-panels/harbor-panel.yaml

46 lines
1.1 KiB
YAML
Raw Normal View History

2022-10-07 10:14:02 +00:00
id: harbor-panel
info:
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
description: Harbor login panel was detected.
2022-10-07 10:14:02 +00:00
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:*:*:*:*:*:*:*:*
2022-10-07 10:14:02 +00:00
metadata:
verified: true
2023-10-14 11:27:55 +00:00
max-request: 1
vendor: linuxfoundation
product: harbor
2022-10-07 10:14:02 +00:00
shodan-query: http.favicon.hash:657337228
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
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.\-]+)"'