Privilege escalation in vpnc - CVE-2018-10900

 

Privilege escalation in vpnc - CVE-2018-10900

Published: July 24, 2018 / Updated: June 17, 2021


Vulnerability identifier: #VU13999
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-10900
CWE-ID: CWE-77
Exploitation vector: Local access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a local attacker to gain elevated privileges on the target system.

The vulnerability exists due to a newline character can be used to inject a Password helper parameter into the configuration data passed to vpnc. A local attacker can modify a system connection to execute arbitrary commands as root.


Affected software

vpnc
Debian Linux
Gentoo Linux
Arch Linux
Fedora
Opensuse
NetworkManager-vpnc

How to mitigate CVE-2018-10900

Update to version 1.2.6.

vpnc - update to 1.2.6
NetworkManager-vpnc - addressed in versions 1.2.6-1.el7, 1.2.6-1.fc27, 1.2.6-1.fc28

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins