2022-06-10 15:39:27 +00:00
|
|
|
id: git-logs-exposure
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Git Logs Disclosure
|
|
|
|
author: NullFuzz
|
|
|
|
severity: Info
|
|
|
|
description: Searches Git Logs files and passed URLs.
|
|
|
|
tags: logs,git,exposure
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.git/logs/HEAD"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- "!contains(tolower(body), '<html')"
|
|
|
|
- "!contains(tolower(body), '<body')"
|
2022-07-14 10:13:33 +00:00
|
|
|
|
2022-06-10 15:39:27 +00:00
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "application/octet-stream"
|
|
|
|
|
2022-07-14 10:32:41 +00:00
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- '^([a-z0-9]+) '
|
|
|
|
|
2022-06-10 15:39:27 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
2022-07-14 10:13:33 +00:00
|
|
|
- 200
|