Skip to main content
← All vulnerabilities
CVE-2022-25295GHSA-HVW3-P9PX-GPC9GO-2022-0987

Open Redirect

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.12.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a github.com/gophish/gophish

    fixed in 0.12.0

  • github.com/gophish/gophishGo

    fixed in 0.12.0

References 2

security.snyk.io

GitHub · gophish/gophish