Open Redirect in Gogs

CVE-2018-15178

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.

Vulnerability class: Open Redirect

EPSS: 0.013 (67.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Affected products

  • Gogs
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2018-15178?
CVE-2018-15178 is a medium-severity vulnerability in Gogs, classified under URL Redirection to Untrusted Site (Open Redirect). CVSS score: 6.1/10. Published 2018-08-08.
How severe is CVE-2018-15178?
Medium severity. CVSS v3 base score is 6.1 out of 10.
Is CVE-2018-15178 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.