THREAT OPS › Threat News › [GHSA] GHSA-xf64-4pmc-h8qf (medium) — wger: trainer_login accepts GET - CSRF bypass enables forced session rebinding
[GHSA] GHSA-xf64-4pmc-h8qf (medium) — wger: trainer_login accepts GET - CSRF bypass enables forced session rebinding
GHSA-xf64-4pmc-h8qf Severity: medium CVE: CVE-2026-45161
wger: trainer_login accepts GET - CSRF bypass enables forced session rebinding
### Summary
The `trainer_login` view in wger accepts GET requests and executes `django_login()` without any CSRF protection, because Django's `CsrfViewMiddleware` only enforces tokens on unsafe methods (POST/PUT/PATCH/DELETE). An attacker can embed a single `<i
MITRE ATT&CK techniques
- CredentialsT1589.001
- ImpersonationT1684.001
- Malicious LinkT1204.001
- Malicious LinkAML.T0011.003
- ImpersonationAML.T0073
Indicators of compromise
- CVE-2026-45161cve
- https://wger.target/en/user/2/trainer-loginurl
- http://target/en/user/2/trainer-login?next=//attacker.example/exfilurl
Original source: https://github.com/advisories/GHSA-xf64-4pmc-h8qf