RancherOS < 1.4.2 Local Privilege Escalation

high Nessus Plugin ID 132254
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.4.2, hence is vulnerable to a Privilege Escalation Vulnerability.

An issue was discovered in the Linux kernel through 4.18.8. The vmacache_flush_all function in mm/vmacache.c mishandles sequence number overflows. An attacker can trigger a use-after-free (and possibly gain privileges) via certain thread creation, map, unmap, invalidation, and dereference operations.

Solution

Upgrade to RancherOS v1.4.2 or later

See Also

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

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

Plugin Details

Severity: High

ID: 132254

File Name: rancheros_1_4_2.nasl

Version: 1.4

Type: local

Family: Misc.

Published: 12/19/2019

Updated: 8/19/2020

Dependencies: ssh_get_info.nasl, os_fingerprint_linux_distro.nasl

Risk Information

CVSS Score Source: CVE-2018-17182

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.6

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

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

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

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

Temporal Vector: E:P/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: 10/18/2018

Vulnerability Publication Date: 9/19/2018

Reference Information

CVE: CVE-2018-17182

BID: 105417