9.6
CRITICAL
CVE-2018-15758
Spring Security OAuth Privilege Escalation in Authorization Server Approval Endpoint
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).

INFO

Published Date :

Oct. 18, 2018, 10:29 p.m.

Last Modified :

Oct. 3, 2019, 12:03 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.8

Exploitability Score :

3.1
Affected Products

The following products are affected by CVE-2018-15758 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Pivotal_software spring_security_oauth
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-15758.

URL Resource
http://www.securityfocus.com/bid/105687 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2019:2413
https://pivotal.io/security/cve-2018-15758 Mitigation Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-15758 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-15758 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Oct. 09, 2019

    Action Type Old Value New Value
    Added CVSS V3 Dell AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-264 CWE-264 NVD-CWE-noinfo
  • CVE Modified by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2019:2413 [No Types Assigned]
  • Initial Analysis by [email protected]

    Nov. 13, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.securityfocus.com/bid/105687 No Types Assigned http://www.securityfocus.com/bid/105687 Third Party Advisory, VDB Entry
    Changed Reference Type https://pivotal.io/security/cve-2018-15758 No Types Assigned https://pivotal.io/security/cve-2018-15758 Mitigation, Vendor Advisory
    Added CWE CWE-264
    Added CPE Configuration OR *cpe:2.3:a:pivotal_software:spring_security_oauth:*:*:*:*:*:*:*:* versions up to (including) 1.0.5 *cpe:2.3:a:pivotal_software:spring_security_oauth:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 2.0.16 *cpe:2.3:a:pivotal_software:spring_security_oauth:*:*:*:*:*:*:*:* versions from (including) 2.1.0 up to (excluding) 2.1.3 *cpe:2.3:a:pivotal_software:spring_security_oauth:*:*:*:*:*:*:*:* versions from (including) 2.2.0 up to (excluding) 2.2.3 *cpe:2.3:a:pivotal_software:spring_security_oauth:*:*:*:*:*:*:*:* versions from (including) 2.3.0 up to (excluding) 2.3.4
  • CVE Modified by [email protected]

    Oct. 23, 2018

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/105687 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-15758 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-15758 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.31 }} -0.12%

score

0.70393

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability