Privilege Escalation

Affecting org.springframework.security.oauth:spring-security-oauth2 artifact, versions [2.0.0, 2.0.16) || [2.1.0, 2.1.3) || [2.2.0, 2.2.3) || [2.3.0, 2.3.4)

Do your applications use this vulnerable package? Test your applications

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.

Remediation

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

References

CVSS Score

8.1
high severity
  • Attack Vector
    Network
  • Attack Complexity
    High
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    High
  • Availability
    High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Credit
Alvaro Munoz
CVE
CVE-2018-15758
CWE
CWE-269
Snyk ID
SNYK-JAVA-ORGSPRINGFRAMEWORKSECURITYOAUTH-72464
Disclosed
05 Oct, 2018
Published
17 Oct, 2018