Rancher Vulnerable to Cross-site Request Forgery (CSRF)
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/rancher/rancher Go |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| github.com/rancher/rancher Go |
|
|
Rancher 2 through 2.2.4 is vulnerable to a Cross-Site Websocket Hijacking attack that allows an exploiter to gain access to clusters managed by Rancher. The attack requires a victim to be logged into a Rancher server, and then to access a third-party site hosted by the exploiter. Once that is accomplished, the exploiter is able to execute commands against the cluster's Kubernetes API with the permissions and identity of the victim.
From the CVE record · mitre
Rancher is vulnerable to cross-site WebSocket hijacking. If a user is logged into a Rancher server and visits an attacker-hosted site, the attacker can execute commands against a managed cluster’s Kubernetes API using that user’s identity and permissions.
Operators running Rancher 2 through 2.2.4 or affected versions of the Go package github.com/rancher/rancher should check their installations.