Guilherme Macedo

#2828of 53,633
89.3Total CVSS
Vulnerabilities · 11
High
9
Critical
2
PT-2024-10044
9.1
2024-10-25
Rancher · Rancher · CVE-2022-45157
**Name of the Vulnerable Software and Affected Versions** Rancher versions prior to 2.8.9 Rancher versions prior to 2.9.3 Rancher versions 2.7.0 through 2.7.x **Description** A vulnerability has been identified in the way that Rancher stores vSphere's CPI (Cloud Provider Interface) and CSI (Container Storage Interface) credentials used to deploy clusters through the vSphere cloud provider. This issue leads to the vSphere CPI and CSI passwords being stored in a plaintext object inside Rancher. The exposed passwords were accessible in the following objects: `provisioning.cattle.io` in `spec.rkeConfig.chartValues.rancher-vsphere-cpi` and `spec.rkeConfig.chartValues.rancher-vsphere-csi`, and `rke.cattle.io.rkecontrolplane` in `spec.chartValues.rancher-vsphere-cpi` and `spec.chartValues.rancher-vsphere-csi`. The vulnerability is only applicable to users that deploy clusters in vSphere environments. **Recommendations** For Rancher versions prior to 2.8.9, update to version 2.8.9 or later and execute the script provided in the support tools to mitigate any vulnerable leftover vSphere clusters' credentials. For Rancher versions prior to 2.9.3, update to version 2.9.3 or later and execute the script provided in the support tools to mitigate any vulnerable leftover vSphere clusters' credentials. For Rancher versions 2.7.0 through 2.7.x, update to one of the patched versions by following the standard update procedure based on the 2.7 version that is being used. Enable the `provisioningprebootstrap` feature flag after updating to one of the patched versions. As a temporary workaround, consider restricting access to Rancher to trusted users and not allowing direct access to untrusted users to the clusters' infrastructure.
PT-2023-14311
7.1
2023-01-25
Suse · Suse Rancher · CVE-2022-43755
**Name of the Vulnerable Software and Affected Versions** SUSE Rancher versions prior to 2.6.10 SUSE Rancher versions prior to 2.7.1 **Description** A Insufficient Entropy vulnerability in SUSE Rancher allows attackers that gained knowledge of the `cattle-token` to continue abusing this even after the token was renewed. The `cattle-token` secret, used by the `cattle-cluster-agent`, is predictable and does not use any random value in its composition, causing it to always be regenerated with the same value. This can pose a serious problem if the token is compromised and needs to be recreated for security purposes. The usage of the `cattle-token` by an unauthorized user allows to escalate privileges to the cluster owner of the affected downstream cluster. **Recommendations** For SUSE Rancher versions prior to 2.6.10, update to version 2.6.10 or later. For SUSE Rancher versions prior to 2.7.1, update to version 2.7.1 or later. After upgrading to a patched version, rotate the `cattle-token` in downstream clusters to guarantee that a new random token will be safely regenerated. This can be done by executing the following procedure in each downstream cluster provisioned by Rancher: Verify the current secret before rotating it using `kubectl describe secrets cattle-token -n cattle-system`. Delete the secret using `kubectl delete secrets cattle-token -n cattle-system`. Restart the `cattle-cluster-agent` deployment using `kubectl rollout restart deployment/cattle-cluster-agent -n cattle-system`. Confirm that a new and different secret was generated using `kubectl describe secrets cattle-token -n cattle-system`. As a temporary workaround, consider using the rotate script provided in the public security advisory to facilitate the rotation and creation of a new unique downstream cluster token.
PT-2023-1495
9.9
2023-01-25
Suse · Suse Rancher · CVE-2022-43757
**Name of the Vulnerable Software and Affected Versions** SUSE Rancher versions prior to 2.5.17 SUSE Rancher versions prior to 2.6.10 SUSE Rancher versions prior to 2.7.1 **Description** A Cleartext Storage of Sensitive Information issue in SUSE Rancher allows users on managed clusters to gain access to credentials. The impact depends on the credentials exposed. This issue affects the storage of sensitive fields, secret tokens, encryption keys, and SSH keys that were still being stored in plaintext directly on Kubernetes objects like `Clusters`. The exposed credentials are visible in Rancher to authenticated `Cluster Owners`, `Cluster Members`, `Project Owners`, and `Project Members` of that cluster on the endpoints: "/v1/management.cattle.io.cluster" and "/v1/management.cattle.io.clustertemplaterevisions". The fields that have been addressed by this security fix include `Cluster.Spec.RancherKubernetesEngineConfig.Services.KubeAPI.SecretsEncryptionConfig.CustomConfig.Providers[].AESGCM.Keys[].Secret`, `Cluster.Spec.RancherKubernetesEngineConfig.Services.KubeAPI.SecretsEncryptionConfig.CustomConfig.Providers[].AESCBC.Keys[].Secret`, and others. **Recommendations** For SUSE Rancher versions prior to 2.5.17, update to version 2.5.17 or later. For SUSE Rancher versions prior to 2.6.10, update to version 2.6.10 or later. For SUSE Rancher versions prior to 2.7.1, update to version 2.7.1 or later. After upgrading to a patched version, check for the `ACISecretsMigrated` and `RKESecretsMigrated` conditions on `Clusters` and `ClusterTemplateRevisions` to confirm when secrets have been fully migrated off of those objects. As a temporary workaround, consider restricting access to the vulnerable endpoints until a patch is available. Review for potentially leaked credentials and change them if deemed necessary.
PT-2023-12676
7.4
2023-01-25
Suse · Suse Rancher · CVE-2022-21953
**Name of the Vulnerable Software and Affected Versions** SUSE Rancher versions prior to 2.5.17 SUSE Rancher versions prior to 2.6.10 SUSE Rancher versions prior to 2.7.1 **Description** A Missing Authorization vulnerability in SUSE Rancher allows an authenticated user to create an unauthorized shell pod and have limited kubectl access in the local cluster. This issue occurs due to an authorization logic flaw, allowing users to open a shell pod in the Rancher local cluster and have limited kubectl access to it, even if they were not explicitly granted such access. The vulnerability can be exploited in two ways: by intercepting a web request to change the shell's destination to the Rancher local cluster, or by modifying the server cluster address in a kubeconfig file to point to the Rancher local cluster. The severity of this issue is reduced because the shell pod runs with a limited non-root user, but it is still possible to download and run binaries inside the shell pod. **Recommendations** For SUSE Rancher versions prior to 2.5.17, update to version 2.5.17 or later. For SUSE Rancher versions prior to 2.6.10, update to version 2.6.10 or later. For SUSE Rancher versions prior to 2.7.1, update to version 2.7.1 or later. As a temporary workaround, consider restricting access to the local cluster and limiting network access to reduce the blast radius of this issue. Additionally, enabling API audit logs can help identify possible abuses of this issue by tracking API requests to the user ID of the user that performed the action.