CVE-2022-25295 Open Redirect
MediumCVSS 5.4
EPSS 0.70%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| getgophish gophish | < 0.12.0 | 0.12.0 | Fixed |
| gophish(Go) | < 0.12.0 | 0.12.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gophish(Go) | < 0.12.0 | 0.12.0 |
| getgophish gophish | < 0.12.0 | 0.12.0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- security.snyk.io exploit third-party-advisory
- github.com patch
- github.com
- github.com vendor-advisory
- github.com product