GitHub Advisoryadvisory · Go

GHSA-cpgw-2wxr-pww3 Open Redirect

MEDIUM Published 2021-06-29 Modified 2021-05-20 Official page ↗
Aliases
CVE-2018-15178
Ecosystem
Go
Packages
gogs.io/gogs
Severity
Moderate
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-601
Reviewed
2021-05-20

Affected packages

• Go gogs.io/gogs: < 0.12.0 → fixed in 0.12.0

Description

Open redirect vulnerability in Gogs before 0.12 allows remote attackers to redirect users to arbitrary websites and conduct phishing attacks via an initial /\ substring in the user/login redirect_to parameter, related to the function isValidRedirect in routes/user/auth.go.

Related

Alias · CVE (1)

  • CVE-2018-15178 Open redirect vulnerability in Gogs before 0.12 allows remote attackers to redirect users to arbitrary websites and conduct phishing… vulnerability

Weakness · CWE (1)

  • CWE-601 URL Redirection to Untrusted Site weakness

References