GLSA-201808-03 : NetworkManager VPNC plugin: Privilege escalation

high Nessus Plugin ID 112077

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-201808-03 (NetworkManager VPNC plugin: Privilege escalation)

When initiating a VPNC connection, NetworkManager spawns a new vpnc process and passes the configuration via STDIN. By injecting a special character into a configuration parameter, an attacker can coerce NetworkManager to set the Password helper option to an attacker controlled executable file.
Impact :

A local attacker is able to escalate privileges via a specially crafted configuration file.
Workaround :

There is no known workaround at this time.

Solution

All NetworkManager VPNC plugin users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-misc/networkmanager-vpnc-1.2.6'

See Also

https://security.gentoo.org/glsa/201808-03

Plugin Details

Severity: High

ID: 112077

File Name: gentoo_GLSA-201808-03.nasl

Version: 1.4

Type: local

Published: 8/23/2018

Updated: 4/5/2019

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 6

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

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7.2

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

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:networkmanager-vpnc, cpe:/o:gentoo:linux

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/22/2018

Exploitable With

Metasploit (Network Manager VPNC Username Privilege Escalation)

Reference Information

CVE: CVE-2018-10900

GLSA: 201808-03