Linux Kernel up to 4.14.7 HMAC crypto/hmac.c System Calls memory corruption

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.6 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in Linux Kernel up to 4.14.7. This affects an unknown function of the file crypto/hmac.c of the component HMAC. Executing a manipulation as part of System Calls can lead to memory corruption. This vulnerability is tracked as CVE-2017-17806. The attack is restricted to local execution. No exploit exists. It is advisable to implement a patch to correct this issue.
Details
A vulnerability was found in Linux Kernel up to 4.14.7 (Operating System). It has been declared as critical. This vulnerability affects an unknown part of the file crypto/hmac.c of the component HMAC. The manipulation as part of a System Calls 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. CVE summarizes:
The HMAC implementation (crypto/hmac.c) in the Linux kernel before 4.14.8 does not validate that the underlying cryptographic hash algorithm is unkeyed, allowing a local attacker able to use the AF_ALG-based hash interface (CONFIG_CRYPTO_USER_API_HASH) and the SHA-3 hash algorithm (CONFIG_CRYPTO_SHA3) to cause a kernel stack buffer overflow by executing a crafted sequence of system calls that encounter a missing SHA-3 initialization.
The bug was discovered 11/29/2017. The weakness was disclosed 12/20/2017 as confirmed git commit (GIT Repository). The advisory is shared for download at git.kernel.org. This vulnerability was named CVE-2017-17806 since 12/20/2017. The attack needs to be approached locally. A single authentication is necessary for exploitation. There are known technical details, but no exploit is available.
The vulnerability was handled as a non-public zero-day exploit for at least 21 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 105433 (Debian DSA-4073-1 : linux - security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 237034 (Red Hat Update for kernel-alt (RHSA-2018:2948)).
Upgrading to version 4.14.8 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be patching the affected component. A possible mitigation has been published 3 days after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (105433) and SecurityFocus (BID 102293†). The entries VDB-109193, VDB-110288, VDB-110931 and VDB-110933 are pretty similar. Once again VulDB remains the best source for vulnerability data.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.8VulDB Meta Temp Score: 7.6
VulDB Base Score: 7.8
VulDB Temp Score: 7.5
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.8
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: Partially
Local: Yes
Remote: No
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: 105433
Nessus Name: Debian DSA-4073-1 : linux - security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 61643
OpenVAS Name: SuSE Update for Linux Kernel openSUSE-SU-2018:0022-1 (Linux Kernel)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Kernel 4.14.8
Patch: git.kernel.org
Timeline
11/29/2017 🔍12/20/2017 🔍
12/20/2017 🔍
12/20/2017 🔍
12/20/2017 🔍
12/21/2017 🔍
12/23/2017 🔍
12/26/2017 🔍
01/18/2023 🔍
Sources
Vendor: kernel.orgAdvisory: RHSA-2018:2948
Researcher: syzbot.
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2017-17806 (🔍)
GCVE (CVE): GCVE-0-2017-17806
GCVE (VulDB): GCVE-100-110932
OVAL: 🔍
SecurityFocus: 102293 - Linux Kernel CVE-2017-17806 Stack Based Buffer Overflow Vulnerability
See also: 🔍
Entry
Created: 12/21/2017 08:45Updated: 01/18/2023 14:19
Changes: 12/21/2017 08:45 (84), 12/17/2019 08:28 (5), 01/27/2021 16:55 (2), 01/18/2023 14:19 (3)
Complete: 🔍
Cache ID: 216:215:103
No comments yet. Languages: en.
Please log in to comment.