Description (CNA)
Grav is a file-based Web platform. Prior to 3.8.5, the Login plugin twofa_cancel task accepts a client-controlled _redirect field without a nonce and allows an unauthenticated request to set an external http, https, or protocol-relative Location target. Controller::execute() applies the field when taskTwofa_cancel() sets no redirect, and Grav::getRedirectResponse() accepts the target through Uri::isExternal(), enabling phishing redirects from a trusted Grav host. This issue is fixed in version 3.8.5.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| getgrav / grav | affected < 3.8.5 |
CWE
CWE-601
References
- https://github.com/getgrav/grav/security/advisories/GHSA-wwcc-xxhc-44j6
- https://github.com/getgrav/grav-plugin-login/commit/1535e51d2a9cbc3f1bb1e262e791c142a06ce959
- https://github.com/getgrav/grav-plugin-login/releases/tag/3.8.5
ADP enrichment
No English description supplied.