CVE-2021-25320CWE-284

Rancher: Cloud credentials can be used through proxy API by users without access

Critical · published July 15, 2021

CVSS v3.1
9.9
EPSS
1%
Percentile
58.0
In the wild
Unconfirmed
What it is

🚨 Users in the cluster can make requests to cloud providers just by creating requests with cloud-credential IDs. It's like granting someone a VIP pass to the whole show without checking their ticket! 🔥 Think of it as allowing a guest to access the backstage area at a concert simply by mentioning a secret code, without verifying if they actually belong there. This improper access control is leaving the door wide open! An attacker could exploit this flaw to make unauthorized requests to cloud providers, potentially accessing sensitive data or resources that could lead to severe consequences for your infrastructure. It's an absolute nightmare scenario where credentials are handed out like candy!

Put simply

Think of it as allowing a guest to access the backstage area at a concert simply by mentioning a secret code, without verifying if they actually belong there. This improper access control is leaving the door wide open! This vulnerability in Rancher allows users with cluster access to create requests using cloud-credential IDs, which the system approves without any further validation. This means that malicious users could potentially access cloud services and resources they shouldn't have permission to.

What to do

An attacker could exploit this flaw to make unauthorized requests to cloud providers, potentially accessing sensitive data or resources that could lead to severe consequences for your infrastructure. It's an absolute nightmare scenario where credentials are handed out like candy! Patch your Rancher instances to versions 2.5.9 or higher for the 2.5.x series, or to version 2.4.16 or higher for the 2.4.x series to close this vulnerability. Review user permissions and limit access to credential IDs to only those who absolutely need it. 🚀 You've got this! Follow these steps, secure your Rancher setup, and become the hero your cloud environment needs! 🛡️

The record
Technical detail
CVSS v3.1
9.9 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00855 · 58.0th percentile
Weakness
CWE-284 · Improper Access Control
Published
2021-07-15T08:55Z
EPSS history
Timeline
  • 15 JUL 08:55Z
    Rancher: Cloud credentials can be used through proxy API by users without access
    cvelistv5