CVE-2022-25295
Description
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.
How to fix
- getgophish gophish0.12.0 or later
- github.com/gophish/gophish0.12.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getgophish gophish | v < 0.12.0 | 0.12.0 |
| github.com/gophish/gophishGo | v < 0.12.0 | 0.12.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.