Privilege Escalation in spring-security-oauth2
Published Oct 18, 2018
9.6
CRITICALCVSS 3.0
EPSS 2.15%
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).
Affected products
-
- Version 2.0StatusaffectedConstraints<=2.0.15
- Version 2.1StatusaffectedConstraints<=2.1.2
- Version 2.2StatusaffectedConstraints<=2.2.2
- Version 2.3StatusaffectedConstraints<=2.3.3
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Pivotal | Spring Security OAuth | n/a |
|
- ≤ 1.0.5
- ≥ 2.0.0 · < 2.0.16
- ≥ 2.1.0 · < 2.1.3
- ≥ 2.2.0 · < 2.2.3
- ≥ 2.3.0 · < 2.3.4
No data.
Red Hat Fuse 7.4.0
spring-security-oauth
Fixed · RHSA-2019:2413
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Fuse 7.4.0 | spring-security-oauth | Fixed | RHSA-2019:2413 |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
2 other sources (CVE.org, Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Table of values (18 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 2.15% (0.02153) | 81.51th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.15% (0.02153) | 79.72th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.43% (0.00431) | 74.73th | v3 (v2023.03.01) |
| Jun 4, 2024 | 0.43% (0.00431) | 74.48th | v3 (v2023.03.01) |
| Apr 17, 2024 | 0.55% (0.00546) | 77.16th | v3 (v2023.03.01) |
| Mar 8, 2024 | 0.52% (0.00518) | 76.24th | v3 (v2023.03.01) |
| Nov 16, 2023 | 0.60% (0.00595) | 75.93th | v3 (v2023.03.01) |
| Oct 12, 2023 | 0.60% (0.00604) | 76.09th | v3 (v2023.03.01) |
| Jul 8, 2023 | 0.72% (0.00719) | 78.00th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.51% (0.00506) | 72.87th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.95% (0.00954) | 36.37th | v2 (v2022.01.01) |
| Sep 2, 2022 | 0.95% (0.00954) | 34.50th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.95% (0.00954) | 32.50th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.95% (0.00954) | 16.28th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.83% (0.00833) | 24.58th | v1 |
| Jan 6, 2022 | 0.83% (0.00833) | 23.96th | v1 |
| Sep 1, 2021 | 0.83% (0.00833) | 57.50th | v1 |
| Apr 14, 2021 | 0.83% (0.00833) | 0.00th | v1 |
References (12)
- http://www.securityfocus.com/bid/105687 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2019:2413 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2018-15758 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1643048 Issue Tracking
- https://github.com/advisories/GHSA-h8w4-qv99-f7vj Advisory
- https://github.com/spring-attic/spring-security-oauth/commit/4082ec7ae3d39198a47b5c803ccb20dacefb0b0
- https://github.com/spring-attic/spring-security-oauth/commit/623776689fdcc8047f5a908c71f348e1f172a97
- https://github.com/spring-attic/spring-security-oauth/commit/ddd65cd9417ae1e4a69e4193a622300db38e2ef
- https://github.com/spring-attic/spring-security-oauth/commit/f92223afc71687bd3156298054903f50aa71fbf
- https://nvd.nist.gov/vuln/detail/CVE-2018-15758
- https://pivotal.io/security/cve-2018-15758 x_refsource_CONFIRMMitigationVendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-15758
| Link | Providers | Tags |
|---|---|---|
| http://www.securityfocus.com/bid/105687 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/errata/RHSA-2019:2413 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/security/cve/CVE-2018-15758 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1643048 | Issue Tracking | |
| https://github.com/advisories/GHSA-h8w4-qv99-f7vj | Advisory | |
| https://github.com/spring-attic/spring-security-oauth/commit/4082ec7ae3d39198a47b5c803ccb20dacefb0b0 | ||
| https://github.com/spring-attic/spring-security-oauth/commit/623776689fdcc8047f5a908c71f348e1f172a97 | ||
| https://github.com/spring-attic/spring-security-oauth/commit/ddd65cd9417ae1e4a69e4193a622300db38e2ef | ||
| https://github.com/spring-attic/spring-security-oauth/commit/f92223afc71687bd3156298054903f50aa71fbf | ||
| https://nvd.nist.gov/vuln/detail/CVE-2018-15758 | ||
| https://pivotal.io/security/cve-2018-15758 | x_refsource_CONFIRMMitigationVendor Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2018-15758 |
Change history (0)
No recorded changes yet.