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.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2022-6843 | 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. |
Github GHSA |
GHSA-hvw3-p9px-gpc9 | Gophish before 0.12.0 vulnerable to Open Redirect |
References
History
No history.
Status: PUBLISHED
Assigner: snyk
Published:
Updated: 2024-09-16T17:29:06.682Z
Reserved: 2022-02-16T00:00:00.000Z
Link: CVE-2022-25295
No data.
Status : Modified
Published: 2022-09-11T14:15:08.803
Modified: 2024-11-21T06:51:56.737
Link: CVE-2022-25295
No data.
OpenCVE Enrichment
No data.
Weaknesses
EUVD
Github GHSA