Improper Authentication Affecting github.com/rancher/rancher/pkg/auth/providers/saml package, versions >=2.8.0 <2.8.13>=2.9.0 <2.9.7>=2.10.0 <2.10.3


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMRANCHERRANCHERPKGAUTHPROVIDERSSAML-8883807
  • published28 Feb 2025
  • disclosed27 Feb 2025
  • creditUnknown

Introduced: 27 Feb 2025

NewCVE-2025-23389  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade github.com/rancher/rancher/pkg/auth/providers/saml to version 2.8.13, 2.9.7, 2.10.3 or higher.

Overview

Affected versions of this package are vulnerable to Improper Authentication due to improper validation of SAML assertion requests. An attacker can impersonate any user by manipulating cookie values during their initial login.

Note:

This is only exploitable if a SAML authentication provider is configured and the user is logging in for the first time or if a user has been removed from the authentication provider.

Workaround

This vulnerability can be mitigated by temporarily disabling the SAML-based AP.

CVSS Scores

version 4.0
version 3.1