Open redirect in Sourcegraph - CVE-2020-12283
Published: May 6, 2020
Sourcegraph
Sourcegraph
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.