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)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (71st percentile)

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 Learn

Learn about Privilege Escalation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKSECURITYOAUTH-72464
  • published17 Oct 2018
  • disclosed5 Oct 2018
  • creditAlvaro Munoz

Introduced: 5 Oct 2018

CVE-2018-15758  (opens in a new tab)
CWE-269  (opens in a new tab)

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.

CVSS Scores

version 3.1