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

34 lines
738 B
YAML

id: git-exposure
info:
name: Git Metadata Directory Exposure
author: tess
severity: medium
metadata:
verified: true
max-request: 1
tags: logs,git,exposure
http:
- 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
# digest: 4b0a00483046022100cea0be09c865dd3405daad4c8b7c46f68b69739482413a4744905042a1d4d66a022100e497157b633e91b5241a390abfae3fb33127225ec9d8f082abc54bf0f9daaf5f:922c64590222798bb761d5b6d8e72950