CVE-2022-25295

Medium

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.

SeverityMedium
CVSS5.4
Exploit probability—
ProductGophish
PublishedSep 11, 2022
First seenSep 11, 2022

How to fix

Update
  • getgophish gophish0.12.0 or later
  • github.com/gophish/gophish0.12.0 or later

Affected products

ProductAffected versionsFixed in
getgophish gophishv < 0.12.00.12.0
github.com/gophish/gophishGov < 0.12.00.12.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.