Vulnerabilities · 2022 · Getgophish
CVE-2022-25295
Getgophish Gophish vulnerability
This affects the package github.com/gophish/gophish before 0.12.0. The Open Redirect vulnerability exists in the next query parameter. The application uses url.Parse(r.FormValue("next")) to extract path and eventually redirect user to a relative URL, but if next parameter starts with multiple backslashes like \\\\\\example.com, browser will redirect user to http://example.com.
Affected products
Gophish. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Getgophish Gophish runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Getgophish products
CVE-2025-70963CVE-2024-2211CVE-2022-45004CVE-2022-45003CVE-2020-24713CVE-2020-24712CVE-2020-24711CVE-2020-24710All 13
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.