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.
Remediation
References
http://packetstormsecurity.com/files/153299/Spring-Security-OAuth-2.3-Open-Redirection.html
https://pivotal.io/security/cve-2019-11269
https://www.oracle.com/security-alerts/cpujan2021.html
Related Vulnerabilities
CVE-2019-10459 Vulnerability in maven package org.jenkins-ci.plugins:mattermost
CVE-2022-31139 Vulnerability in maven package io.github.karlatemp:unsafe-accessor
CVE-2018-14041 Vulnerability in maven package org.webjars:bootstrap
CVE-2020-2282 Vulnerability in maven package org.jenkins-ci.plugins:implied-labels
CVE-2017-1000092 Vulnerability in maven package org.jenkins-ci.plugins:git