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
https://pivotal.io/security/cve-2019-11269
http://packetstormsecurity.com/files/153299/Spring-Security-OAuth-2.3-Open-Redirection.html
https://www.oracle.com/security-alerts/cpujan2021.html
Related Vulnerabilities
CVE-2011-2092 Vulnerability in maven package com.adobe.blazeds:flex-messaging-common
CVE-2023-50730 Vulnerability in maven package edu.gemini:gsp-graphql-core_3
CVE-2017-0783 Vulnerability in maven package org.apache.openmeetings:openmeetings-web
CVE-2022-40084 Vulnerability in maven package org.opencrx:opencrx-core
CVE-2011-5062 Vulnerability in maven package org.apache.tomcat:tomcat-catalina