Description
Grav API plugin versions before 1.0.20 build password reset links from the untrusted Host header in the forgot-password endpoint, allowing unauthenticated attackers to redirect reset tokens to attacker-controlled domains. Attackers can send password reset requests for any account with a malicious Host header, intercept the reset token from victim emails, and complete account takeover including super-admin accounts.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| getgrav | grav-plugin-api | < 1.0.20 | 1.0.20 |
References
- GitHub Security Advisory (GHSA-262p-56vv-7v5r) vendor-advisory
- VulnCheck Advisory: Grav API Plugin before 1.0.20 Authentication Bypass via Host Header third-party-advisory