RancherOS < 1.5.1 Local Command Execution

high Nessus Plugin ID 132255
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote device is missing a vendor-supplied security patch

Description

The remote host is running a version of RancherOS prior to v1.5.1, hence it is vulnerable to a Local Command Execution Vulnerability.

Opencontainers runc is prone to a local command-execution vulnerability.
A local attacker can exploit this issue to execute arbitrary commands with root privileges.
runc through 1.0-rc6 are vulnerable.

Solution

Upgrade to RancherOS v1.5.1 or later

See Also

https://rancher.com/docs/os/v1.x/en/about/security/

https://github.com/rancher/os/releases/tag/v1.5.1

Plugin Details

Severity: High

ID: 132255

File Name: rancheros_1_5_1.nasl

Version: 1.6

Type: local

Family: Misc.

Published: 12/19/2019

Updated: 7/1/2021

Dependencies: ssh_get_info.nasl, os_fingerprint_linux_distro.nasl

Risk Information

CVSS Score Source: CVE-2019-5736

VPR

Risk Factor: Critical

Score: 10

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 8.1

Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C

Temporal Vector: E:H/RL:OF/RC:C

CVSS v3

Risk Factor: High

Base Score: 8.6

Temporal Score: 8.2

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

Temporal Vector: E:H/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:rancher:rancheros

Required KB Items: Host/local_checks_enabled, Host/RancherOS/version, Host/RancherOS

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/12/2019

Vulnerability Publication Date: 2/11/2019

Exploitable With

Metasploit (Docker Container Escape Via runC Overwrite)

Reference Information

CVE: CVE-2019-5736

BID: 106976