2022-11-11 09:46:30 +00:00
|
|
|
id: git-exposure
|
2022-11-08 16:09:03 +00:00
|
|
|
|
|
|
|
info:
|
2022-11-11 09:46:30 +00:00
|
|
|
name: Git Metadata Directory Exposure
|
2022-11-08 16:09:03 +00:00
|
|
|
author: tess
|
2022-11-10 17:36:45 +00:00
|
|
|
severity: medium
|
2022-11-08 16:09:03 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 1
|
2022-11-11 09:46:30 +00:00
|
|
|
tags: logs,git,exposure
|
2022-11-08 16:09:03 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-11-08 16:09:03 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.git/"
|
|
|
|
|
|
|
|
host-redirects: true
|
2022-11-11 09:46:30 +00:00
|
|
|
max-redirects: 2
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2022-11-08 16:09:03 +00:00
|
|
|
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
|