Description
Grav before 2.0.4 fails to restrict cURL protocols in webhook dispatch, allowing authenticated users with api.webhooks.write permission to create webhooks with file://, dict://, or gopher:// URLs. Attackers can trigger webhook events to read local files, access process information, or pivot to internal services via unrestricted protocol handlers.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| getgrav | grav | < 2.0.4 | 2.0.4 |
References
- GitHub Security Advisory (GHSA-58q8-f7v4-w2vf) vendor-advisory
- VulnCheck Advisory: Grav < 2.0.4 SSRF via Unrestricted cURL Protocols third-party-advisory