CWE
601
Advisory Published
Advisory Published
Updated

CVE-2020-12283

First published: Thu Apr 30 2020(Updated: )

### 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](https://github.com/sourcegraph/sourcegraph/pull/10167)) ### 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](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12283). - Apr 30, 11 AM PST: Sourcegraph issued a GitHub security advisory and notified all affected users. ### References - [Mitre: CVE-2020-12283](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12283) - [GitHub Security Lab: GHSL-2020-085](https://securitylab.github.com/advisories/GHSL-2020-085-sourcegraph) - [detectify's blog post on open redirect vulnerabilities ](https://blog.detectify.com/2019/05/16/the-real-impact-of-an-open-redirect/) ### For more information If 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.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
go/github.com/sourcegraph/sourcegraph>=3.15.0<3.15.1
3.15.1
go/github.com/sourcegraph/sourcegraph<3.14.4
3.14.4
Sourcegraph Sourcegraph<3.15.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the vulnerability ID for this Sourcegraph vulnerability?

    The vulnerability ID for this Sourcegraph vulnerability is CVE-2020-12283.

  • What is the impact of this vulnerability?

    This vulnerability allows users to be targeted for phishing attacks and have their authentication tokens harvested.

  • How can users be targeted by phishing attacks?

    Users can be targeted by phishing attacks through an open redirect vulnerability in Sourcegraph instances configured with OAuth, OpenID, or SAML authentication.

  • Which versions of Sourcegraph are affected by this vulnerability?

    Sourcegraph versions up to and including 3.15.1 are affected.

  • How can I fix this vulnerability?

    To fix this vulnerability, you should upgrade Sourcegraph to version 3.15.1 or apply the fix provided in the GitHub pull request.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203