GLSA-201701-30 : vzctl: Security bypass

low Nessus Plugin ID 96424

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-201701-30 (vzctl: Security bypass)

It was discovered that vzctl determined the virtual environment (VE) layout based on the presence of root.hdd/DiskDescriptor.xml in the VE private directory. This allows local simfs container (CT) root users to change the root password for arbitrary ploop containers. This is demonstrated by a symlink attack on the ploop container root.hdd file which can then be used to access a control panel.
Impact :

An attacker with root privileges, in a simfs-based container, could gain control over ploop-based containers.
Workaround :

There is no known workaround at this time.

Solution

All vzctl users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=sys-cluster/vzctl-4.9.4'

See Also

https://security.gentoo.org/glsa/201701-30

Plugin Details

Severity: Low

ID: 96424

File Name: gentoo_GLSA-201701-30.nasl

Version: 3.2

Type: local

Published: 1/12/2017

Updated: 1/11/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.8

CVSS v2

Risk Factor: Low

Base Score: 3.6

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:vzctl, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 1/11/2017

Reference Information

CVE: CVE-2015-6927

GLSA: 201701-30