38 lines
797 B
YAML
38 lines
797 B
YAML
id: git-config
|
|
|
|
info:
|
|
name: Git Configuration - Detect
|
|
author: pdteam,pikpikcu,Mah3Sec_
|
|
severity: medium
|
|
description: Git configuration was detected via the pattern /.git/config and log file on passed URLs.
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
|
|
cvss-score: 5.3
|
|
cwe-id: CWE-200
|
|
tags: config,git,exposure
|
|
metadata:
|
|
max-request: 1
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/.git/config"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "[core]"
|
|
|
|
- type: dsl
|
|
dsl:
|
|
- "!contains(tolower(body), '<html')"
|
|
- "!contains(tolower(body), '<body')"
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# Enhanced by md on 2023/02/09
|