Rancher Extensions have arbitrary file access via path traversal
SUSE rancher
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/rancher/rancher Go |
|
|
SUSE rancher
| Product | Affected | Fixed in |
|---|---|---|
| github.com/rancher/rancher Go |
|
|
2.11.13A vulnerability has been identified in [Rancher's Extensions](https://ranchermanager.docs.rancher.com/integrations-in-rancher/rancher-extensions) where malicious code can be injected in Rancher through a path traversal in the `compressedEndpoint` field inside a `UIPlugin` deployment. A malicious UI extension could abuse that to: * Overwrite Rancher binaries or configuration to inject code.
* Write to /var/lib/rancher/ to tamper with cluster state.
* If hostPath volumes are mounted, write to the host node filesystem.
* Use this issue to chain with other attack vectors.
From the CVE record · suse
A path traversal in the `compressedEndpoint` field of a `UIPlugin` deployment lets a malicious UI extension inject code into Rancher. It can overwrite Rancher binaries or configuration, tamper with cluster state, and, if hostPath volumes are mounted, write to the host node filesystem. The input does not specify whether authentication or user interaction is required.
Teams running SUSE Rancher or the Go package `github.com/rancher/rancher` should check installations in the listed affected ranges: >=2.14.0 <2.14.1, >=2.13.0 <2.13.5, >=2.12.0 <2.12.9, and >=2.10.11 <2.11.13; the input also marks all versions as affected.