CVE-2022-25295

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-25295
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25295.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-25295
Aliases
Withdrawn
2024-05-15T05:32:04.158498Z
Published
2022-09-11T14:15:08Z
Modified
2024-08-21T16:28:58.334873Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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

Affected packages

Git / github.com/gophish/gophish

Affected ranges

Type
GIT
Repo
https://github.com/gophish/gophish
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.7.1

v0.*

v0.1
v0.1.1
v0.1.2
v0.10.0
v0.10.1
v0.11.0
v0.2.0
v0.3.0
v0.4.0
v0.5.0
v0.6.0
v0.7.0
v0.8.0
v0.9.0