RancherOS 1.6.x < 1.6.28 / 2.0.x < 2.0.15 / 2.1.x < 2.1.10 / 2.2.x < 2.2.4 Arbitrary File Read

high Nessus Plugin ID 128056

Synopsis

A Docker container of Rancher installed on the remote host is missing a security patch.

Description

In Rancher 1 and 2 through 2.2.3, unprivileged users (if allowed to deploy nodes) can gain admin access to the Rancher management plane because node driver options intentionally allow posting certain data to the cloud. The problem is that a user could choose to post a sensitive file such as /root/.kube/config or /var/lib/rancher/management-state/cred/kubeconfig-system.yaml.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to version 1.6.28 / 2.0.15 / 2.1.10 / 2.2.4 or later.

See Also

http://www.nessus.org/u?76c65d4b

http://www.nessus.org/u?972b6c60

http://www.nessus.org/u?48cf906b

http://www.nessus.org/u?3693a71b

http://www.nessus.org/u?f2d277a3

Plugin Details

Severity: High

ID: 128056

File Name: rancher_cve-2019-12274.nasl

Version: 1.3

Type: combined

Family: Misc.

Published: 8/22/2019

Updated: 8/19/2020

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:N/A:N

CVSS Score Source: CVE-2019-12274

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: x-cpe:/a:rancher_labs:rancher

Required KB Items: Settings/ParanoidReport, installed_sw/Rancher

Exploit Ease: No known exploits are available

Patch Publication Date: 6/5/2019

Vulnerability Publication Date: 6/5/2019

Reference Information

CVE: CVE-2019-12274