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.
References
Link | Resource |
---|---|
https://github.com/gophish/gophish/pull/2262 | Patch Third Party Advisory |
https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOPHISHGOPHISH-2404177 | Exploit Third Party Advisory |
https://github.com/gophish/gophish/pull/2262 | Patch Third Party Advisory |
https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOPHISHGOPHISH-2404177 | Exploit Third Party Advisory |
Configurations
History
21 Nov 2024, 06:51
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/gophish/gophish/pull/2262 - Patch, Third Party Advisory | |
References | () https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOPHISHGOPHISH-2404177 - Exploit, Third Party Advisory |
Information
Published : 2022-09-11 14:15
Updated : 2024-11-21 06:51
NVD link : CVE-2022-25295
Mitre link : CVE-2022-25295
CVE.ORG link : CVE-2022-25295
JSON object : View
Products Affected
getgophish
- gophish
CWE
CWE-601
URL Redirection to Untrusted Site ('Open Redirect')