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

44 lines
1.2 KiB
YAML

id: cgit-panel
info:
name: CGIT - Detect
author: tess,righettod
severity: info
description: CGIT panel was detected.
reference:
- https://git.zx2c4.com/cgit/about/
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:cgit_project:cgit:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: cgit_project
product: cgit
shodan-query:
- http.title:"Git repository browser"
- http.title:"git repository browser"
fofa-query: title="git repository browser"
google-query: intitle:"git repository browser"
tags: panel,git,cgit_project
http:
- method: GET
path:
- "{{BaseURL}}"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains_all(to_lower(body), "git repository browser", "cgit")'
condition: and
extractors:
- type: regex
part: body
group: 1
regex:
- '(?i)<meta\s+name=.?generator.?\s+content=.?([a-z0-9\s.]+).?'
# digest: 490a004630440220183135177744707b1119d92aa01d97104ee0374f5e1e4f785169fc5819a9cd4502202a7dfb287cde054a8550476dd5c59f8362770271f37306fdf528a82199c9f5a5:922c64590222798bb761d5b6d8e72950