CVE-2022-31247CWE-285

Rancher: Downstream cluster privilege escalation through cluster and project role template binding (CRTB/PRTB)

Critical · published September 7, 2022

CVSS v3.1
9.1
EPSS
1%
Percentile
61.9
In the wild
Unconfirmed
What it is

🚨 A sneaky authorization gap in SUSE Rancher lets users with certain roles gain ownership of different projects, like a mischievous guest at a party suddenly claiming the host’s chair! 🔥 Think of it as a restaurant where a diner with a VIP card can suddenly take over a private dining room, changing the menu and ordering for everyone. That seemingly innocent card allows them to make decisions that affect others without proper authorization! An attacker could easily escalate their privileges to become an owner in another project, potentially gaining access to sensitive data and configuration, and wreaking havoc across the cluster. This could lead to unauthorized changes, data breaches, or even service disruptions — absolutely devastating!

Put simply

Think of it as a restaurant where a diner with a VIP card can suddenly take over a private dining room, changing the menu and ordering for everyone. That seemingly innocent card allows them to make decisions that affect others without proper authorization! This vulnerability arises from improper authorization checks, allowing users who should only have limited permissions to elevate their access and control over different projects in the same or downstream clusters.

What to do

An attacker could easily escalate their privileges to become an owner in another project, potentially gaining access to sensitive data and configuration, and wreaking havoc across the cluster. This could lead to unauthorized changes, data breaches, or even service disruptions — absolutely devastating! Patch immediately to Rancher version 2.6.7 or 2.5.16 to close this gap. Additionally, review role bindings and permissions to ensure that only trusted users hold powerful roles. Regular audits can help keep your cluster secure! You've got this! By taking these steps, you'll tighten security and keep your environment safe. 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00978 · 61.9th percentile
Weakness
CWE-285 · Improper Authorization
Published
2022-09-07T08:20Z
EPSS history
Timeline
  • 07 SEP 08:20Z
    Rancher: Downstream cluster privilege escalation through cluster and project role template binding (CRTB/PRTB)
    cvelistv5