CVE-2018-15758
mediumpriority · track · 33EPSS 0.022 · 82 %ileEUUSEPSS · scored 2026-10-27
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).
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 6.8–9.6
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (13)
Products and version ranges known to be affected.
- pivotal software spring security oauth≤ 1.0.5nvdUScpe:2.3:a:pivotal_software:spring_security_oauth:*:*:*:*:*:*:*:*
- pivotal software spring security oauth2.0.0 → 2.0.16nvdUScpe:2.3:a:pivotal_software:spring_security_oauth:*:*:*:*:*:*:*:*
- pivotal software spring security oauth2.1.0 → 2.1.3nvdUScpe:2.3:a:pivotal_software:spring_security_oauth:*:*:*:*:*:*:*:*
- pivotal software spring security oauth2.2.0 → 2.2.3nvdUScpe:2.3:a:pivotal_software:spring_security_oauth:*:*:*:*:*:*:*:*
- pivotal software spring security oauth2.3.0 → 2.3.4nvdUScpe:2.3:a:pivotal_software:spring_security_oauth:*:*:*:*:*:*:*:*
- Maven org.springframework.security.oauth:spring-security-oauth22.0.0 → 2.0.16osvUSpkg:maven/org.springframework.security.oauth/spring-security-oauth2
- Maven org.springframework.security.oauth:spring-security-oauth22.1.0 → 2.1.3osvUSpkg:maven/org.springframework.security.oauth/spring-security-oauth2
- Maven org.springframework.security.oauth:spring-security-oauth22.2.0 → 2.2.3.RELEASEosvUSpkg:maven/org.springframework.security.oauth/spring-security-oauth2
- Maven org.springframework.security.oauth:spring-security-oauth22.3.0 → 2.3.4.RELEASEosvUSpkg:maven/org.springframework.security.oauth/spring-security-oauth2
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-h8w4-qv99-f7vjAuthorization bypass in org.springframework.security.oauth:spring-security-oauth22018-10-19ghsa · osvUS
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).
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://access.redhat.com/errata/RHSA-2019:2413cnnvd
- https://packetstormsecurity.com/files/153980/Red-Hat-Security-Advisory-2019-2413-01.htmlcnnvd
- https://pivotal.io/security/cve-2018-15758cnnvd
- https://www.auscert.org.au/bulletins/ESB-2019.3040/cnnvd
- https://www.securityfocus.com/bid/105687cnnvd
- http://www.securityfocus.com/bid/105687enisa_euvd
- https://access.redhat.com/errata/RHSA-2019:2413enisa_euvd
- https://pivotal.io/security/cve-2018-15758enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan