ADVISORIES

GitHub Advisory Database

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.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/rancher/rancher
From 2.0.0 before 2.0.16 (fixed in 2.0.16)
Gogithub.com/rancher/rancher
From 2.1.0 before 2.1.11 (fixed in 2.1.11)
Gogithub.com/rancher/rancher
From 2.2.0 before 2.2.5 (fixed in 2.2.5)

References