Privilege Escalation Affecting org.springframework.security.oauth:spring-security-oauth2 package, versions [, 2.0.16.RELEASE) [2.1.0.RELEASE, 2.1.3.RELEASE) [2.2.0.RELEASE, 2.2.3.RELEASE) [2.3.0.RELEASE, 2.3.4.RELEASE)


0.0
high

Snyk CVSS

    Attack Complexity High
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.55% (78th percentile)
Expand this section
NVD
8.1 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JAVA-ORGSPRINGFRAMEWORKSECURITYOAUTH-72464
  • published 17 Oct 2018
  • disclosed 5 Oct 2018
  • credit Alvaro Munoz

How to fix?

Upgrade org.springframework.security.oauth:spring-security-oauth2 to versions 2.0.16, 2.1.3, 2.2.3, 2.3.4 or higher.

Overview

org.springframework.security.oauth:spring-security-oauth2 provides support for using Spring Security with OAuth (1a) and OAuth2.

Affected versions of this package are vulnerable to Privilege Escalation. A malicious user could craft a request to the approval endpoint that could modify the previously saved authorization request and lead to a privilege escalation on the subsequent approval.