Loading...
Skip to main content

CVE-2018-1260 — Vulnerability in...

CRITICAL

Spring Security OAuth vulnerable to remote code execution (RCE)

Published October 18, 2018Updated May 14, 2024Source: osv

Summary

Spring Security OAuth versions prior to 2.3.3, prior to 2.2.2, prior to 2.1.2, and prior to 2.0.15 contain a remote code execution vulnerability. An attacker can craft an authorization request to the authorization endpoint that can lead to remote code execution when the resource owner is forwarded to the approval endpoint.

Advisory Timeline

  • First published October 18, 2018 (2916 days ago).
  • Last revised May 14, 2024 — 2035 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.springframework.security.oauth:spring-security-oauth2 to 2.1.2 or later
<!-- Update pom.xml dependency version to 2.1.2 for org.springframework.security.oauth:spring-security-oauth2 -->
Maven
Update org.springframework.security.oauth:spring-security-oauth2 to 2.2.2 or later
<!-- Update pom.xml dependency version to 2.2.2 for org.springframework.security.oauth:spring-security-oauth2 -->
Maven
Update org.springframework.security.oauth:spring-security-oauth2 to 2.3.3 or later
<!-- Update pom.xml dependency version to 2.3.3 for org.springframework.security.oauth:spring-security-oauth2 -->
Maven
Update org.springframework.security.oauth:spring-security-oauth2 to 2.0.15 or later
<!-- Update pom.xml dependency version to 2.0.15 for org.springframework.security.oauth:spring-security-oauth2 -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (5)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.springframework.security.oauth:spring-security-oauth2
maven
2.1.0.RELEASE, 2.1.1.RELEASE2.1.2
org.springframework.security.oauth:spring-security-oauth2
maven
2.2.0.RELEASE, 2.2.1.RELEASE2.2.2
org.springframework.security.oauth:spring-security-oauth2
maven
1.0.0.RELEASE, 1.0.1.RELEASE, 1.0.2.RELEASE, 1.0.3.RELEASE (+2 more)Range-based data available
org.springframework.security.oauth:spring-security-oauth2
maven
2.3.0.RELEASE, 2.3.1.RELEASE, 2.3.2.RELEASE2.3.3
org.springframework.security.oauth:spring-security-oauth2
maven
2.0.0.RELEASE, 2.0.1.RELEASE, 2.0.10.RELEASE, 2.0.11.RELEASE (+11 more)2.0.15

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2018-1260?
Spring Security OAuth vulnerable to remote code execution (RCE) This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2018-1260?
CVE-2018-1260 affects org.springframework.security.oauth:spring-security-oauth2. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2018-1260 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-rrpm-pj7p-7j9q

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies