CVE-2022-25295
Last modified
CVE-2022-25295 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. This affects the package github.com/gophish/gophish before 0.12.0. The Open Redirect vulnerability exists in the next query parameter. EPSS estimates a 0.54% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Getgophish | Gophish | < 0.12.0 |
References
- https://github.com/gophish/gophish/pull/2262Patch, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOPHISHGOPHISH-2404177Exploit, Third Party Advisory
- https://github.com/gophish/gophish/pull/2262Patch, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOPHISHGOPHISH-2404177Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-25295?
How severe is CVE-2022-25295?
How do I fix CVE-2022-25295?
Are you affected by CVE-2022-25295?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
