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

45 lines
1.1 KiB
YAML
Raw Normal View History

id: cgit-panel
2022-10-23 05:35:27 +00:00
info:
name: CGIT - Detect
author: tess,righettod
2022-10-23 05:35:27 +00:00
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:*:*:*:*:*:*:*:*
2022-10-23 05:35:27 +00:00
metadata:
verified: true
2023-10-14 11:27:55 +00:00
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
2022-10-23 05:35:27 +00:00
http:
2022-10-23 05:35:27 +00:00
- method: GET
path:
- "{{BaseURL}}"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(to_lower(body), "git repository browser")'
- 'contains(to_lower(body), "cgit")'
2022-10-23 05:35:27 +00:00
condition: and
extractors:
- type: regex
part: body
group: 1
regex:
- '(?i)<meta\s+name=.?generator.?\s+content=.?([a-z0-9\s.]+).?'