OpenVPN up to 2.3.17/2.4.3 Key Method 1 read_key memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.7 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, has been found in OpenVPN up to 2.3.17/2.4.3. The affected element is the function read_key of the component Key Method 1. This manipulation causes memory corruption.
This vulnerability is handled as CVE-2017-12166. The attack can be initiated remotely. There is not any exploit available.
It is advisable to upgrade the affected component.
Details
A vulnerability has been found in OpenVPN up to 2.3.17/2.4.3 (Network Encryption Software) and classified as critical. Affected by this vulnerability is the function read_key of the component Key Method 1. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
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.
The bug was discovered 09/29/2017. The weakness was released 09/21/2017 by Guido Vranken (Website). It is possible to read the advisory at community.openvpn.net. This vulnerability is known as CVE-2017-12166 since 08/01/2017. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit. Responsible for the vulnerability is the following code:
if (!buf_read(buf, key->cipher, cipher_length))
{
goto read_err;
}
if (!buf_read(buf, key->hmac, hmac_length))
{
goto read_err;
}The vulnerability scanner Nessus provides a plugin with the ID 103611 (Fedora 26 : openvpn (2017-700915e34f)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 170431 (SUSE Enterprise Linux Security Update for openvpn (SUSE-SU-2017:2838-1)).
Upgrading to version 2.3.18 or 2.4.4 eliminates this vulnerability. A possible mitigation has been published 2 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (103611), SecurityFocus (BID 101153†) and SecurityTracker (ID 1039470†). Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Name
Version
- 2.3.0
- 2.3.1
- 2.3.2
- 2.3.3
- 2.3.4
- 2.3.5
- 2.3.6
- 2.3.7
- 2.3.8
- 2.3.9
- 2.3.10
- 2.3.11
- 2.3.12
- 2.3.13
- 2.3.14
- 2.3.15
- 2.3.16
- 2.3.17
- 2.4.0
- 2.4.1
- 2.4.2
- 2.4.3
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.8VulDB Meta Temp Score: 6.7
VulDB Base Score: 5.6
VulDB Temp Score: 5.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.1
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 103611
Nessus Name: Fedora 26 : openvpn (2017-700915e34f)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 867773
OpenVAS Name: Fedora Update for openvpn FEDORA-2017-700915e34f
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: OpenVPN 2.3.18/2.4.4
Timeline
08/01/2017 🔍09/21/2017 🔍
09/28/2017 🔍
09/29/2017 🔍
09/29/2017 🔍
09/30/2017 🔍
10/02/2017 🔍
10/03/2017 🔍
10/03/2017 🔍
12/30/2022 🔍
Sources
Advisory: FEDORA-2017-700915e34fResearcher: Guido Vranken
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2017-12166 (🔍)
GCVE (CVE): GCVE-0-2017-12166
GCVE (VulDB): GCVE-100-107311
SecurityFocus: 101153 - OpenVPN 'read_key()' Function Stack Buffer Overflow Vulnerability
SecurityTracker: 1039470
Entry
Created: 09/30/2017 12:40Updated: 12/30/2022 13:36
Changes: 09/30/2017 12:40 (82), 11/21/2019 06:52 (5), 12/30/2022 13:30 (4), 12/30/2022 13:36 (1)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.