GHSA-hvw3-p9px-gpc9

    Dashboard / Vulnerabilities / GHSA-hvw3-p9px-gpc9

    GHSA-hvw3-p9px-gpc9

    Published: 12 Sept 2022Last Modified: 21 Aug 2024

    Summary: Gophish before 0.12.0 vulnerable to Open Redirect

    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.

    Affected packages

    Package

    Name: github.com/gophish/gophish

    Purl: pkg:golang/github.com/gophish/gophish

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.12.0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-hvw3-p9px-gpc9 | CVE-DB