medium
Git repository is exposed
www.example.com/.git/config
The sample website exposes its Git repository configuration.
Repository details can help a visitor locate source code or discover embedded credentials.
How to fix
Exclude the .git directory from deployments and block public access to it.
Evidence
- Tool
- Nuclei 3.11.1, standard check (sample)
- Recorded
- 1 Dec, 11:49 UTC
- HTTP status
- 200
Saved response
[core] repositoryformatversion = [REDACTED] [remote "origin"] url = [REDACTED]