CVE-2022-25295: Open Redirect
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 Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2022-25295?
The severity of CVE-2022-25295 is medium with a CVSS score of 5.4.
How does CVE-2022-25295 affect the affected software?
CVE-2022-25295 affects the package github.com/gophish/gophish before version 0.12.0.
What is the vulnerability in CVE-2022-25295?
The vulnerability in CVE-2022-25295 is an Open Redirect vulnerability.
How can the Open Redirect vulnerability in CVE-2022-25295 be exploited?
The Open Redirect vulnerability in CVE-2022-25295 can be exploited by manipulating the 'next' query parameter to redirect users to a malicious URL.
How can I fix CVE-2022-25295?
To fix CVE-2022-25295, upgrade to version 0.12.0 or later of the github.com/gophish/gophish package.