CVE-2019-3778: Open Redirect in spring-security-oauth2
Spring Security OAuth could allow a remote attacker to conduct phishing attacks, caused by an open redirect vulnerability in authorization endpoint. An attacker could exploit this vulnerability using a specially-crafted URL to redirect a victim to arbitrary Web sites.
Other sources
Spring Security OAuth, versions 2.3 prior to 2.3.5, and 2.2 prior to 2.2.4, and 2.1 prior to 2.1.4, and 2.0 prior to 2.0.17, and older unsupported versions could be susceptible to an open redirector attack that can leak an authorization code. A malicious user or attacker can craft a request to the authorization endpoint using the authorization code grant type, and specify a manipulated redirection URI via the "redirecturi" parameter. This can cause the authorization server to redirect the resource owner user-agent to a URI under the control of the attacker with the leaked authorization code. This vulnerability exposes applications that meet all of the following requirements: Act in the role of an Authorization Server (e.g. @EnableAuthorizationServer) and uses the DefaultRedirectResolver in the AuthorizationEndpoint. This vulnerability does not expose applications that: Act in the role of an Authorization Server and uses a different RedirectResolver implementation other than DefaultRedirectResolver, act in the role of a Resource Server only (e.g. @EnableResourceServer), act in the role of a Client only (e.g. @EnableOAuthClient).
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2019-3778?
The severity of CVE-2019-3778 is high with a severity value of 7.4.
How does CVE-2019-3778 allow phishing attacks?
CVE-2019-3778 allows phishing attacks through an open redirector vulnerability that can leak an authorization code.
Which versions of Spring Security OAuth are affected by CVE-2019-3778?
Spring Security OAuth versions 2.3 to 2.3.5, 2.2 to 2.2.4, 2.1 to 2.1.4, and 2.0 to 2.0.17 are affected by CVE-2019-3778.
How can a malicious user or attacker exploit CVE-2019-3778?
A malicious user or attacker can craft a request to exploit the open redirector vulnerability in CVE-2019-3778.
Where can I find more information about CVE-2019-3778?
You can find more information about CVE-2019-3778 at the following references: [Packet Storm Security](http://packetstormsecurity.com/files/153299/Spring-Security-OAuth-2.3-Open-Redirection.html), [SecurityFocus](http://www.securityfocus.com/bid/107153), [Pivotal](https://pivotal.io/security/cve-2019-3778).