Privilege Escalation

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

high severity

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

Do your applications use this vulnerable package?

Credit
Alvaro Munoz
CVE
CVE-2018-15758
CWE
CWE-269
Snyk ID
SNYK-JAVA-ORGSPRINGFRAMEWORKSECURITYOAUTH-72464
Disclosed
05 Oct, 2018
Published
17 Oct, 2018