Skip to main content

Improper Access Control

CVE-2025-23389

Severity High
Score 8.4/10

Summary

A vulnerability in Rancher has been discovered, leading to a local user impersonation through SAML Authentication on first login. The issue occurs when a SAML authentication provider (AP) is configured (e.g. Keycloak). A newly created AP user can impersonate any user on Rancher by manipulating cookie values during their initial login to Rancher. This vulnerability could also be exploited if a Rancher user (present on the AP) is removed, either manually or automatically via the User Retention feature with "delete-inactive-user-after". This issue affects github.com/rancher/rancher package versions 2.8.0-alpha1 through 2.8.12, 2.9.0-alpha1 through 2.9.6, 2.10.0-alpha1 through 2.10.2, and 2.11.0-alpha1 through 2.11.0-alpha2.

  • HIGH
  • NETWORK
  • HIGH
  • CHANGED
  • NONE
  • LOW
  • HIGH
  • LOW

CWE-284 - Improper Access Control

Listed 5th in the 'OWASP Top Ten', improper (or broken) access control attacks are a fundamental type of vulnerability. This includes a broad range of design flaws that enable users to act outside of their intended permissions. They can use these privileges to gain access to restricted files and functionality such as accessing restricted information, falsifying records, destroying data, or executing commands.

Advisory Timeline

  • Published