WaratekVRT Sign in

CVE-2018-15758 Spring Security OAuth

Affected softwareSpring Security OAuth
Severity9.6 Critical CVSS 3.0 3 scores
Fixed in2.0.16, 2.1.3, 2.2.3.RELEASE, 2.3.4.RELEASE
WeaknessImproper privilege management (CWE-269)
Published18 Oct 2018
Updated17 Jun 2026

Description

Spring Security OAuth, versions 2.3 prior to 2.3.4, and 2.2 prior to 2.2.3, and 2.1 prior to 2.1.3, and 2.0 prior to 2.0.16, and older unsupported versions could be susceptible to a privilege escalation under certain conditions. A malicious user or attacker can craft a request to the approval endpoint that can modify the previously saved authorization request and lead to a privilege escalation on the subsequent approval. This scenario can happen if the application is configured to use a custom approval endpoint that declares AuthorizationRequest as a controller method argument. This vulnerability exposes applications that meet all of the following requirements: Act in the role of an Authorization Server (e.g. @EnableAuthorizationServer) and use a custom Approval Endpoint that declares AuthorizationRequest as a controller method argument. This vulnerability does not expose applications that: Act in the role of an Authorization Server and use the default Approval Endpoint, act in the role of a Resource Server only (e.g. @EnableResourceServer), act in the role of a Client only (e.g. @EnableOAuthClient).

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 8 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 2.2% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: spring-attic/spring-security-oauth 4082ec7.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.

CVSS

9.6 CRITICAL v3.0 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N 3 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.0 9.6 CRITICAL CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N security_alert@emc.com Secondary published
CVSS 3.0 8.1 HIGH CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary
CVSS 2.0 6.8 none AV:N/AC:M/Au:N/C:P/I:P/A:P NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.springframework.security.oauth:spring-security-oauth2 2.0.0 2.0.16 unbounded
org.springframework.security.oauth:spring-security-oauth2 2.1.0 2.1.3 unbounded
org.springframework.security.oauth:spring-security-oauth2 2.2.0 2.2.3.RELEASE unbounded
org.springframework.security.oauth:spring-security-oauth2 2.3.0 2.3.4.RELEASE unbounded

Products and versions

2 products, 9 version entries
SourceVendorProductSchemeAffected versions
osv org.springframework.security.oauth spring-security-oauth2 generic ≥ 2.0.0 and < 2.0.16 · ≥ 2.1.0 and < 2.1.3 · ≥ 2.2.0 and < 2.2.3 · ≥ 2.3.0 and < 2.3.4
nvd pivotal software spring security oauth generic ≤ 1.0.5 · ≥ 2.0.0 and < 2.0.16 · ≥ 2.1.0 and < 2.1.3 · ≥ 2.2.0 and < 2.2.3 · ≥ 2.3.0 and < 2.3.4

References

URLTags
https://github.com/spring-attic/spring-security-oauth/commit/4082ec7ae3d39198a47b5c803ccb20dacefb0b0 WEB
https://github.com/spring-attic/spring-security-oauth/commit/623776689fdcc8047f5a908c71f348e1f172a97 WEB
https://github.com/spring-attic/spring-security-oauth/commit/ddd65cd9417ae1e4a69e4193a622300db38e2ef WEB
https://github.com/spring-attic/spring-security-oauth/commit/f92223afc71687bd3156298054903f50aa71fbf WEB
https://access.redhat.com/errata/RHSA-2019:2413 WEB
https://github.com/advisories/GHSA-h8w4-qv99-f7vj ADVISORY
https://pivotal.io/security/cve-2018-15758 WEB
http://www.securityfocus.com/bid/105687 WEB

Timeline

Published2018-10-18By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.