patchminder
Proof of concept · Exploit-DB CVE-2019-3778

Open redirectin the org.springframework.security.oauth:spring-security-oauth package.

Published 7 Mar 2019 · Updated 16 Sep 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (Exploit-DB).

Attack code is public
Severity
Medium 6.5
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 16.6% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

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 "redirect_uri" 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.

What to do now
  • Upgrade Spring Security OAuth to 2.0.17.RELEASE, 2.1.4.RELEASE, 2.2.4.RELEASE, 2.3.5.RELEASE or later, whichever matches your release line.
  • Upgrade org.springframework.security.oauth:spring-security-oauth (Maven) to 2.0.17.RELEASE, 2.1.4.RELEASE, 2.2.4.RELEASE, 2.3.5.RELEASE or later, whichever matches your release line.
  • Upgrade org.springframework.security.oauth:spring-security-oauth2 (Maven) to 2.0.17.RELEASE, 2.1.4.RELEASE, 2.2.4.RELEASE, 2.3.5.RELEASE or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Spring Security OAuth
2.3 to before 2.3.5.RELEASE
2.3.5.RELEASE
CVE record
Spring Security OAuth
2.0 to before 2.0.17.RELEASE
2.0.17.RELEASE
CVE record
Spring Security OAuth
2.1 to before 2.1.4.RELEASE
2.1.4.RELEASE
CVE record
Spring Security OAuth
2.2 to before 2.2.4.RELEASE
2.2.4.RELEASE
CVE record
org.springframework.security.oauth:spring-security-oauth (Maven)
before 2.0.17.RELEASE
2.0.17.RELEASE
GitHub advisory
org.springframework.security.oauth:spring-security-oauth (Maven)
2.1.0.RELEASE to before 2.1.4.RELEASE
2.1.4.RELEASE
GitHub advisory
org.springframework.security.oauth:spring-security-oauth (Maven)
2.2.0.RELEASE to before 2.2.4.RELEASE
2.2.4.RELEASE
GitHub advisory
org.springframework.security.oauth:spring-security-oauth (Maven)
2.3.0.RELEASE to before 2.3.5.RELEASE
2.3.5.RELEASE
GitHub advisory
org.springframework.security.oauth:spring-security-oauth2 (Maven)
before 2.0.17.RELEASE
2.0.17.RELEASE
GitHub advisory
org.springframework.security.oauth:spring-security-oauth2 (Maven)
2.1.0.RELEASE to before 2.1.4.RELEASE
2.1.4.RELEASE
GitHub advisory
org.springframework.security.oauth:spring-security-oauth2 (Maven)
2.2.0.RELEASE to before 2.2.4.RELEASE
2.2.4.RELEASE
GitHub advisory
org.springframework.security.oauth:spring-security-oauth2 (Maven)
2.3.0.RELEASE to before 2.3.5.RELEASE
2.3.5.RELEASE
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 3 Jan 2019
    CVE ID reserved by dell.
  2. 7 Mar 2019
    Published in the CVE List.
  3. 14 Oct 2019
    First public proof of concept on GitHub.
  4. 16 Sep 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (Exploit-DB).

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
1 entry
GitHub proof of concepts
1 repository
Exploit-DBEDB-ID 47000web application exploit for java, published 17 Jun 2019
GitHubno warning signs foundBBB-man/CVE-2019-3778-Spring-Security-OAuth-2.3-Open-Redirection0 stars · created 14 Oct 2019Spring Security OAuth 2.3 Open Redirection 分析复现篇

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other vulnerabilities in this package

Same weakness: Open redirect

All CWE-601 vulnerabilities

References
Cite this page

Patchminder. CVE-2019-3778: Open redirect in the org.springframework.security.oauth:spring-security-oauth package. https://patchminder.com/cve/cve-2019-3778/ (accessed 5 December 2026).