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
|
2023-12-22 10:04:09 +00:00
|
|
|
description: Git Metadata Directory exposed.
|
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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100cea0be09c865dd3405daad4c8b7c46f68b69739482413a4744905042a1d4d66a022100e497157b633e91b5241a390abfae3fb33127225ec9d8f082abc54bf0f9daaf5f:922c64590222798bb761d5b6d8e72950
|