Linux Kernel up to 4.16 mmap Command Line Argument memory corruption

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 3.6 | $0-$5k | 0.00 |
Summary
A vulnerability marked as problematic has been reported in Linux Kernel up to 4.16. Affected by this issue is the function mmap. This manipulation as part of Command Line Argument causes memory corruption.
This vulnerability is registered as CVE-2018-1120. Remote exploitation of the attack is possible. Furthermore, an exploit is available.
It is suggested to upgrade the affected component.
Details
A vulnerability was found in Linux Kernel up to 4.16 (Operating System). It has been declared as problematic. Affected by this vulnerability is the function mmap. The manipulation as part of a Command Line Argument 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 availability. The summary by CVE is:
A flaw was found affecting the Linux kernel before version 4.17. By mmap()ing a FUSE-backed file onto a process's memory containing command line arguments (or environment strings), an attacker can cause utilities from psutils or procps (such as ps, w) or any other program which makes a read() call to the /proc/<pid>/cmdline (or /proc/<pid>/environ) files to block indefinitely (denial of service) or for some controlled time (as a synchronization primitive for other attacks).
The bug was discovered 05/17/2018. The weakness was published 06/20/2018 with Qualys as confirmed mailinglist post (oss-sec). The advisory is shared at seclists.org. This vulnerability is known as CVE-2018-1120 since 12/04/2017. The attack can be launched remotely. A single authentication is needed for exploitation. Technical details and also a public exploit are known.
A public exploit has been developed by Qualys Corporation and been published even before and not after the advisory. It is possible to download the exploit at exploit-db.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 8 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 110170 (Fedora 27 : kernel (2018-93c2e74446) (Spectre)), 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 237034 (Red Hat Update for kernel-alt (RHSA-2018:2948)).
Upgrading to version 4.17 eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Exploit-DB (44806), Tenable (110170) and SecurityFocus (BID 104229†). Similar entries are available at VDB-109193, VDB-110288, VDB-110931 and VDB-110932. If you want to get the best quality for vulnerability data then you always have to consider VulDB.
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: 3.7VulDB Meta Temp Score: 3.6
VulDB Base Score: 3.1
VulDB Temp Score: 2.8
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.3
NVD Vector: 🔍
CNA Base Score: 2.8
CNA Vector (Red Hat, Inc.): 🔍
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: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: Qualys Corporation
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 110170
Nessus Name: Fedora 27 : kernel (2018-93c2e74446) (Spectre)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 57324
OpenVAS Name: Fedora Update for kernel FEDORA-2018-93c2e74446
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Kernel 4.17
Patch: git.kernel.org
Timeline
12/04/2017 🔍05/17/2018 🔍
05/17/2018 🔍
05/25/2018 🔍
05/29/2018 🔍
05/30/2018 🔍
05/30/2018 🔍
06/20/2018 🔍
06/20/2018 🔍
06/20/2018 🔍
12/10/2024 🔍
Sources
Vendor: kernel.orgAdvisory: FEDORA-2018-93c2e74446
Organization: Qualys
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2018-1120 (🔍)
GCVE (CVE): GCVE-0-2018-1120
GCVE (VulDB): GCVE-100-119725
SecurityFocus: 104229 - Linux Kernel CVE-2018-1120 Local Denial of Service Vulnerability
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 06/20/2018 22:49Updated: 12/10/2024 14:10
Changes: 06/20/2018 22:49 (87), 02/20/2020 16:40 (4), 03/28/2023 09:48 (5), 03/28/2023 09:52 (12), 03/28/2023 09:54 (1), 12/10/2024 14:10 (15)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.