CVE-2019-11269 Open Redirector in spring-security-oauth2

Medium 4.2 Published Updated

Attackers can exploit an open redirect in Spring Security OAuth to leak authorization codes, potentially leading to account takeover.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2019-11269?

CVE-2019-11269 is a medium-severity vulnerability in Spring Security OAuth, published on 12 Jun 2019. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Spring Security OAuth versions 2.3 prior to 2.3.6, 2.2 prior to 2.2.5, 2.1 prior to 2.1.5, and 2.0 prior to 2.0.18, as well as 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.

Weakness: CWE-601

Which versions are affected by CVE-2019-11269?

8 open source packages ship an affected version, including org.springframework.security.oauth:spring-security-oauth. It affects 2 products.

PackageAffectedFixed in
org.springframework.security.oauth:spring-security-oauth MavenFrom 2.0.0.RELEASE2.0.18.RELEASE
org.springframework.security.oauth:spring-security-oauth MavenFrom 2.0.0.RELEASE2.0.18.RELEASE
org.springframework.security.oauth:spring-security-oauth MavenFrom 2.1.0.RELEASE2.1.5.RELEASE
org.springframework.security.oauth:spring-security-oauth MavenFrom 2.1.0.RELEASE2.1.5.RELEASE
org.springframework.security.oauth:spring-security-oauth MavenFrom 2.2.0.RELEASE2.2.5.RELEASE
org.springframework.security.oauth:spring-security-oauth MavenFrom 2.2.0.RELEASE2.2.5.RELEASE
2 more packages
org.springframework.security.oauth:spring-security-oauth MavenFrom 2.3.0.RELEASE2.3.6.RELEASE
org.springframework.security.oauth:spring-security-oauth MavenFrom 2.3.0.RELEASE2.3.6.RELEASE

Products include Oracle Banking Corporate Lending, Pivotal Software Spring Security Oauth.

How do I fix CVE-2019-11269?

Upgrade org.springframework.security.oauth:spring-security-oauth to a fixed version for your release line: 2.0.18.RELEASE, 2.1.5.RELEASE, 2.2.5.RELEASE or 2.3.6.RELEASE.

Is CVE-2019-11269 being exploited?

There is no known exploitation of CVE-2019-11269 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-mmf6-6597-3v6m.

Is CVE-2019-11269 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free