nuclei-templates/exposures/logs/git-exposure.yaml

30 lines
525 B
YAML

id: git-exposure
info:
name: Git Metadata Directory Exposure
author: tess
severity: medium
metadata:
verified: true
tags: logs,git,exposure
requests:
- method: GET
path:
- "{{BaseURL}}/.git/"
host-redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: word
part: body
words:
- "403 Forbidden"
- "You do not have permission to access /.git/"
condition: and
- type: status
status:
- 403