Linux Kernel up to 4.13.4 ptrace.c flush_tmregs_to_thread memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.3$0-$5k0.00

A vulnerability has been found in Linux Kernel up to 4.13.4 (Operating System) and classified as problematic. This vulnerability affects the function flush_tmregs_to_thread of the file arch/powerpc/kernel/ptrace.c. 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 availability. CVE summarizes:

In the flush_tmregs_to_thread function in arch/powerpc/kernel/ptrace.c in the Linux kernel before 4.13.5, a guest kernel crash can be triggered from unprivileged userspace during a core dump on a POWER host due to a missing processor feature check and an erroneous use of transactional memory (TM) instructions in the core dump path, leading to a denial of service.

The bug was discovered 03/19/2018. The weakness was shared 03/27/2018 with Qihoo 360 Vulcan Team as confirmed git commit (GIT Repository). The advisory is available at git.kernel.org. This vulnerability was named CVE-2018-1091 since 12/04/2017. Local access is required to approach this attack. No form of authentication is required for a successful exploitation. Technical details are known, but there is no available exploit.

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 $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 109103 (openSUSE Security Update : the Linux Kernel (openSUSE-2018-377)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 351257 (Amazon Linux Security Advisory for kernel: ALAS-2018-1023).

Upgrading to version 4.13.5 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 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the vulnerability database at Tenable (109103). The entries 109965, 110554, 111442 and 113070 are related to this item.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.4
VulDB Meta Temp Score: 4.3

VulDB Base Score: 3.3
VulDB Temp Score: 3.2
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 5.5
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
ATT&CK: Unknown

Local: Yes
Remote: No

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 109103
Nessus Name: openSUSE Security Update : the Linux Kernel (openSUSE-2018-377)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 861397
OpenVAS Name: SuSE Update for Linux Kernel openSUSE-SU-2018:0972-1 (Linux Kernel)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: Kernel 4.13.5
Patch: git.kernel.org

Timelineinfo

12/04/2017 🔍
03/19/2018 +105 days 🔍
03/27/2018 +8 days 🔍
03/27/2018 +0 days 🔍
03/28/2018 +1 days 🔍
04/10/2018 +13 days 🔍
04/17/2018 +7 days 🔍
04/18/2018 +1 days 🔍
02/24/2023 +1773 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: RHSA-2018:1318
Researcher: Yuki Chen
Organization: Qihoo 360 Vulcan Team
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2018-1091 (🔍)
SecurityFocus: 103603 - Microsoft Internet Explorer Scripting Engine CVE-2018-1000 Information Disclosure Vulnerability

See also: 🔍

Entryinfo

Created: 03/28/2018 10:33
Updated: 02/24/2023 12:28
Changes: 03/28/2018 10:33 (81), 01/17/2020 09:47 (6), 02/06/2021 10:13 (3), 02/24/2023 12:28 (3)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!