Vulnerability Details : CVE-2022-25295
Potential exploit
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.
Vulnerability category: Open redirect
Products affected by CVE-2022-25295
- cpe:2.3:a:getgophish:gophish:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-25295
0.10%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 29 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-25295
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.4
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
2.8
|
2.5
|
NIST | |
5.4
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
2.8
|
2.5
|
Snyk |
CWE ids for CVE-2022-25295
-
The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-25295
-
https://github.com/gophish/gophish/pull/2262
Fix open redirect vulnerability on the login page by Kirill89 · Pull Request #2262 · gophish/gophish · GitHubPatch;Third Party Advisory
-
https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOPHISHGOPHISH-2404177
Open Redirect in github.com/gophish/gophish | CVE-2022-25295 | SnykExploit;Third Party Advisory
Jump to