Description
Grav before 2.1.7 contains an information disclosure vulnerability because bundled nginx, lighttpd, IIS, and Caddy 2 configurations block .git only at document root. Unauthenticated attackers can request nested repositories such as user/.git to retrieve Git config, refs, and objects, reconstructing unpublished history or committed secrets.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| getgrav | grav | < 2.1.7 | 2.1.7 |
References
- GitHub Security Advisory (GHSA-5vx9-x8f2-f55w) vendor-advisory
- VulnCheck Advisory: Grav before 2.1.7 Information Disclosure via Nested .git Directories third-party-advisory