Vulnerability Details : CVE-2020-12283
Potential exploit
Sourcegraph before 3.15.1 has a vulnerable authentication workflow because of improper validation in the SafeRedirectURL method in cmd/frontend/auth/redirect.go, such as for the //foo//example.com substring.
Vulnerability category: Open redirect
Products affected by CVE-2020-12283
- cpe:2.3:a:sourcegraph:sourcegraph:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-12283
0.26%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 46 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-12283
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:N |
8.6
|
4.9
|
NIST | |
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST |
CWE ids for CVE-2020-12283
-
The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-12283
-
https://securitylab.github.com/advisories/GHSL-2020-085-sourcegraph
GHSL-2020-085: Open redirect vulnerability in Sourcegraph - CVE-2020-12283 - GitHub Security LabExploit;Third Party Advisory
-
https://github.com/sourcegraph/sourcegraph/blob/master/CHANGELOG.md
sourcegraph/CHANGELOG.md at master · sourcegraph/sourcegraph · GitHubRelease Notes;Third Party Advisory
-
https://github.com/sourcegraph/sourcegraph/commit/c0f48172e815c7f66471a38f0a06d1fc32a77a64
auth: ensure the redirect URL always starts with a single slash (#10167) · sourcegraph/sourcegraph@c0f4817 · GitHubPatch;Third Party Advisory
-
https://github.com/sourcegraph/sourcegraph/compare/v3.15.0...v3.15.1
Comparing v3.15.0...v3.15.1 · sourcegraph/sourcegraph · GitHubRelease Notes;Third Party Advisory
-
https://github.com/sourcegraph/sourcegraph/pull/10167
auth: ensure the redirect URL always starts with a single slash by unknwon · Pull Request #10167 · sourcegraph/sourcegraph · GitHubPatch;Third Party Advisory
Jump to