45 lines
1.1 KiB
YAML
45 lines
1.1 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(to_lower(body), "git repository browser")'
|
||
|
- 'contains(to_lower(body), "cgit")'
|
||
|
condition: and
|
||
|
|
||
|
extractors:
|
||
|
- type: regex
|
||
|
part: body
|
||
|
group: 1
|
||
|
regex:
|
||
|
- '(?i)<meta\s+name=.?generator.?\s+content=.?([a-z0-9\s.]+).?'
|