ghsa-mx43-r985-5h4m
Vulnerability from github
Published
2021-12-20 18:12
Modified
2023-10-02 14:32
Severity ?
VLAI Severity ?
Summary
Open redirect vulnerability in Sourcegraph
Details
Impact
An open redirect vulnerability that allows users to be targeted for phishing attacks has been found in Sourcegraph instances configured with OAuth, OpenID, or SAML authentication enabled. Users targeted by these phishing attacks could have their authentication tokens silently harvested by an attacker.
Specific Go Packages Affected
github.com/sourcegraph/sourcegraph/cmd/frontend/auth
Resolution
Sourcegraph v3.14.4 and v3.15.1 have been released which resolve the vulnerability. (associated change)
Workarounds
Disabling OAuth, OpenID and/or SAML sign-in options until upgraded to the patched versions will secure Sourcegraph / workaround the issue.
Timeline
- Apr 23, 8 AM PST: GitHub Security Lab reported the issue to Sourcegraph.
- Apr 23, 11 PM PST: A Sourcegraph engineer proposed a resolution for the vulnerability. https://github.com/sourcegraph/sourcegraph/pull/10167
- Apr 24, 3 AM PST: The proposed resolution was reviewed, approved, and merged.
- Apr 28, 2 PM PST: Patch releases for 3.14.4 and 3.15.1 were published.
- Apr 29, 10 PM PST: Mitre publicly disclosed CVE-2020-12283.
- Apr 30, 11 AM PST: Sourcegraph issued a GitHub security advisory and notified all affected users.
References
- Mitre: CVE-2020-12283
- GitHub Security Lab: GHSL-2020-085
- detectify's blog post on open redirect vulnerabilities
For more information
If you have any questions or comments about this advisory, please contact us at support@sourcegraph.com and include CVE-2020-12283
in the title.
{ "affected": [ { "package": { "ecosystem": "Go", "name": "github.com/sourcegraph/sourcegraph" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "3.14.4" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Go", "name": "github.com/sourcegraph/sourcegraph" }, "ranges": [ { "events": [ { "introduced": "3.15.0" }, { "fixed": "3.15.1" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2020-12283" ], "database_specific": { "cwe_ids": [ "CWE-601" ], "github_reviewed": true, "github_reviewed_at": "2021-05-24T21:06:22Z", "nvd_published_at": null, "severity": "MODERATE" }, "details": "### Impact\n\nAn open redirect vulnerability that allows users to be targeted for phishing attacks has been found in Sourcegraph instances configured with OAuth, OpenID, or SAML authentication enabled. Users targeted by these phishing attacks could have their authentication tokens silently harvested by an attacker.\n\n### Specific Go Packages Affected\ngithub.com/sourcegraph/sourcegraph/cmd/frontend/auth\n\n### Resolution\n\nSourcegraph v3.14.4 and v3.15.1 have been released which resolve the vulnerability. ([associated change](https://github.com/sourcegraph/sourcegraph/pull/10167))\n\n### Workarounds\n\nDisabling OAuth, OpenID and/or SAML sign-in options until upgraded to the patched versions will secure Sourcegraph / workaround the issue.\n\n### Timeline\n\n- Apr 23, 8 AM PST: GitHub Security Lab reported the issue to Sourcegraph.\n- Apr 23, 11 PM PST: A Sourcegraph engineer proposed a resolution for the vulnerability. https://github.com/sourcegraph/sourcegraph/pull/10167\n- Apr 24, 3 AM PST: The proposed resolution was reviewed, approved, and merged.\n- Apr 28, 2 PM PST: Patch releases for 3.14.4 and 3.15.1 were published.\n- Apr 29, 10 PM PST: Mitre publicly disclosed [CVE-2020-12283](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12283).\n- Apr 30, 11 AM PST: Sourcegraph issued a GitHub security advisory and notified all affected users.\n\n### References\n\n- [Mitre: CVE-2020-12283](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12283)\n- [GitHub Security Lab: GHSL-2020-085](https://securitylab.github.com/advisories/GHSL-2020-085-sourcegraph)\n- [detectify\u0027s blog post on open redirect vulnerabilities\n](https://blog.detectify.com/2019/05/16/the-real-impact-of-an-open-redirect/)\n\n### For more information\n\nIf you have any questions or comments about this advisory, please contact us at [support@sourcegraph.com](mailto:support@sourcegraph.com) and include `CVE-2020-12283` in the title.", "id": "GHSA-mx43-r985-5h4m", "modified": "2023-10-02T14:32:06Z", "published": "2021-12-20T18:12:47Z", "references": [ { "type": "WEB", "url": "https://github.com/sourcegraph/sourcegraph/security/advisories/GHSA-mx43-r985-5h4m" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-12283" }, { "type": "WEB", "url": "https://github.com/sourcegraph/sourcegraph/pull/10167" }, { "type": "WEB", "url": "https://github.com/sourcegraph/sourcegraph/commit/c0f48172e815c7f66471a38f0a06d1fc32a77a64" }, { "type": "PACKAGE", "url": "https://github.com/sourcegraph/sourcegraph" }, { "type": "WEB", "url": "https://github.com/sourcegraph/sourcegraph/blob/master/CHANGELOG.md" }, { "type": "WEB", "url": "https://github.com/sourcegraph/sourcegraph/compare/v3.15.0...v3.15.1" }, { "type": "ADVISORY", "url": "https://securitylab.github.com/advisories/GHSL-2020-085-sourcegraph" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "type": "CVSS_V3" } ], "summary": "Open redirect vulnerability in Sourcegraph" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…