Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1odnczLXA5cHgtZ3BjOc4AAuuJ

Gophish before 0.12.0 vulnerable to Open Redirect

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.

Permalink: https://github.com/advisories/GHSA-hvw3-p9px-gpc9
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1odnczLXA5cHgtZ3BjOc4AAuuJ
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 1 year ago
Updated: over 1 year ago


CVSS Score: 5.4
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Identifiers: GHSA-hvw3-p9px-gpc9, CVE-2022-25295
References: Repository: https://github.com/gophish/gophish
Blast Radius: 6.5

Affected Packages

go:github.com/gophish/gophish
Dependent packages: 17
Dependent repositories: 16
Downloads:
Affected Version Ranges: < 0.12.0
Fixed in: 0.12.0
All affected versions: 0.1.1, 0.1.2, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 0.9.0, 0.10.0, 0.10.1, 0.11.0
All unaffected versions: 0.12.0, 0.12.1