VDB
KO
HIGH 8.7

GHSA-xhg2-rvm8-w2jh

Rancher Vulnerable to Cross-site Request Forgery (CSRF)

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go / github.com/rancher/rancher
Introduced in: 2.0.0 Fixed in: 2.0.16
Fix go get github.com/rancher/rancher@v2.0.16
Go / github.com/rancher/rancher
Introduced in: 2.1.0 Fixed in: 2.1.11
Fix go get github.com/rancher/rancher@v2.1.11
Go / github.com/rancher/rancher
Introduced in: 2.2.0 Fixed in: 2.2.5
Fix go get github.com/rancher/rancher@v2.2.5

References