Debian DLA-2992-1 : openvpn - LTS security update

critical Nessus Plugin ID 160475

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 9 host has a package installed that is affected by multiple vulnerabilities as referenced in the dla-2992 advisory.

- OpenVPN versions before 2.3.3 and 2.4.x before 2.4.4 are vulnerable to a buffer overflow vulnerability when key-method 1 is used, possibly resulting in code execution. (CVE-2017-12166)

- An issue was discovered in OpenVPN 2.4.x before 2.4.9. An attacker can inject a data channel v2 (P_DATA_V2) packet using a victim's peer-id. Normally such packets are dropped, but if this packet arrives before the data channel crypto parameters have been initialized, the victim's connection will be dropped.
This requires careful timing due to the small time window (usually within a few seconds) between the victim client connection starting and the server PUSH_REPLY response back to the client. This attack will only work if Negotiable Cipher Parameters (NCP) is in use. (CVE-2020-11810)

- OpenVPN 2.5.1 and earlier versions allows a remote attackers to bypass authentication and access control channel data on servers configured with deferred authentication, which can be used to potentially trigger further information leaks. (CVE-2020-15078)

- OpenVPN 2.1 until v2.4.12 and v2.5.6 may enable authentication bypass in external authentication plug-ins when more than one of them makes use of deferred authentication replies, which allows an external user to be granted access with only partially correct credentials. (CVE-2022-0547)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the openvpn packages.

For Debian 9 stretch, these problems have been fixed in version 2.4.0-6+deb9u4.

See Also

https://security-tracker.debian.org/tracker/source-package/openvpn

https://www.debian.org/lts/security/2022/dla-2992

https://security-tracker.debian.org/tracker/CVE-2017-12166

https://security-tracker.debian.org/tracker/CVE-2020-11810

https://security-tracker.debian.org/tracker/CVE-2020-15078

https://security-tracker.debian.org/tracker/CVE-2022-0547

https://packages.debian.org/source/stretch/openvpn

Plugin Details

Severity: Critical

ID: 160475

File Name: debian_DLA-2992.nasl

Version: 1.5

Type: local

Agent: unix

Published: 5/3/2022

Updated: 10/4/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS Score Source: CVE-2022-0547

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:9.0, p-cpe:/a:debian:debian_linux:openvpn

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/3/2022

Vulnerability Publication Date: 9/28/2017

Reference Information

CVE: CVE-2017-12166, CVE-2020-11810, CVE-2020-15078, CVE-2022-0547

IAVA: 2017-A-0285-S