Open redirect in Sourcegraph



Published: 2020-05-06
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-12283
CWE-ID CWE-601
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Sourcegraph
Client/Desktop applications / Other client software

Vendor Sourcegraph

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Open redirect

EUVDB-ID: #VU27559

Risk: Medium

CVSSv3.1: 4.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-12283

CWE-ID: CWE-601 - URL Redirection to Untrusted Site ('Open Redirect')

Exploit availability: No

Description

The vulnerability allows a remote attacker to redirect victims to arbitrary URL.

The vulnerability exists due to improper sanitization of user-supplied data in the "SafeRedirectURL" method in "cmd/frontend/auth/redirect.go". A remote attacker can create a link that leads to a trusted website, however, when clicked, redirects the victim to arbitrary domain.

Successful exploitation of this vulnerability may allow a remote attacker to perform a phishing attack and steal potentially sensitive information.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Sourcegraph: 2.0.0 - 3.15.0

External links

http://github.com/sourcegraph/sourcegraph/blob/master/CHANGELOG.md
http://github.com/sourcegraph/sourcegraph/commit/c0f48172e815c7f66471a38f0a06d1fc32a77a64
http://github.com/sourcegraph/sourcegraph/compare/v3.15.0...v3.15.1
http://github.com/sourcegraph/sourcegraph/pull/10167


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###