Git Metadata Directory Exposure
ID: git-exposure
Severity: medium
Author: tess
Tags: logs,git,exposure
Description
Section titled “Description”Git Metadata Directory exposed.
YAML Source
Section titled “YAML Source”id: git-exposure
info: name: Git Metadata Directory Exposure author: tess severity: medium description: Git Metadata Directory exposed. 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: 4a0a004730450221008ae3d369c70db8d26d0d54e90bb5b6ede0ef1c351608ad85e5acbffc5a44ffe702206b5ffb7b29e01e5c885b9d4baa547fbfa33348ac94391468d16e9d57869015ca:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/exposures/logs/git-exposure.yaml"