# CVE-2018-15758: Authorization bypass in org.springframework.security.oauth:spring-security-oauth2

Source: https://junglewise.ai/threats/cve-2018-15758-authorization-bypass-in-org-springframework-security-oauth-spring  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2018-10-19  
License: CC BY 4.0 with a link back

CVE-2018-15758 · Severity: low · CVSS 3 · Published 2018-10-19

Authorization bypass in org.springframework.security.oauth:spring-security-oauth2

Technologies: [org.springframework.security.oauth:spring-security-oauth2 (Maven)](https://junglewise.ai/threats/technologies/org-springframework-security-oauth-spring-security-oauth2). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2018-15758 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2018-15758 being exploited in the wild.

**How severe is CVE-2018-15758?** Low severity, with a CVSS score of 3, published 19 October 2018.

**Which products and versions are affected?** org.springframework.security.oauth:spring-security-oauth2 (Maven) ECOSYSTEM:introduced=2.0.0,fixed=2.0.16.

**Is there a fix for CVE-2018-15758?** Yes. org.springframework.security.oauth:spring-security-oauth2 (Maven): upgrade to 2.0.16 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2018-15758?** Check whether you run org.springframework.security.oauth:spring-security-oauth2 (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.springframework.security.oauth:spring-security-oauth2 (Maven): upgrade to 2.0.16 or later

  ```sh
  # set org.springframework.security.oauth:spring-security-oauth2 to 2.0.16 in your pom.xml or build.gradle
  ```


## Affected products

- org.springframework.security.oauth:spring-security-oauth2 (Maven) ECOSYSTEM:introduced=2.0.0,fixed=2.0.16

## Identifiers

- CVE-2018-15758
- GHSA-h8w4-qv99-f7vj

## Related threats

- [Denial of service in Spring Security OAuth2](https://junglewise.ai/threats/cve-2022-22969-denial-of-service-in-spring-security-oauth2)
- [spring-security-oauth and spring-security-oauth2 Open Redirect vulnerability](https://junglewise.ai/threats/cve-2019-3778-spring-security-oauth-and-spring-security-oauth2-open-redirect)
- [Spring Security OAuth vulnerable to remote code execution (RCE) via specially crafted request using whitelabel views](https://junglewise.ai/threats/cve-2016-4977-spring-security-oauth-vulnerable-to-remote-code-execution-rce-via)
- [Spring Security OAuth vulnerable to remote code execution (RCE)](https://junglewise.ai/threats/cve-2018-1260-spring-security-oauth-vulnerable-to-remote-code-execution-rce)
