Linux Kernel up to 4.17.3 uvesafb.c uvesafb_setcmap integer overflow

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.
6.4$0-$5k0.00

Summaryinfo

A vulnerability classified as problematic was found in Linux Kernel up to 4.17.3. Affected by this issue is the function uvesafb_setcmap of the file drivers/video/fbdev/uvesafb.c. Executing a manipulation can lead to integer overflow. The identification of this vulnerability is CVE-2018-13406. The attack can only be executed locally. There is no exploit available. Upgrading the affected component is advised.

Detailsinfo

A vulnerability classified as problematic was found in Linux Kernel up to 4.17.3 (Operating System). This vulnerability affects the function uvesafb_setcmap of the file drivers/video/fbdev/uvesafb.c. The manipulation with an unknown input leads to a integer overflow vulnerability. The CWE definition for the vulnerability is CWE-190. The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

An integer overflow in the uvesafb_setcmap function in drivers/video/fbdev/uvesafb.c in the Linux kernel before 4.17.4 could result in local attackers being able to crash the kernel or potentially elevate privileges because kmalloc_array is not used.

The bug was discovered 06/12/2018. The weakness was shared 07/06/2018 (Website). The advisory is shared for download at git.kernel.org. This vulnerability was named CVE-2018-13406 since 07/06/2018. The attack needs to be approached locally. The successful exploitation requires a single authentication. There are known technical details, but no exploit is available.

The vulnerability was handled as a non-public zero-day exploit for at least 24 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 111329 (SUSE SLED12 / SLES12 Security Update : kernel (SUSE-SU-2018:2051-1)), 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 171288 (SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2018:2051-1)).

Upgrading to version 4.17.4 eliminates this vulnerability. A possible mitigation has been published 3 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (111329), SecurityFocus (BID 104685†) and SecurityTracker (ID 1041355†). The entries VDB-120162, VDB-120483, VDB-122312 and VDB-126498 are related to this item. Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.5
VulDB Meta Temp Score: 6.4

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

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

NVD Base Score: 🔍

Exploitinginfo

Class: Integer overflow
CWE: CWE-190 / CWE-189
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 111329
Nessus Name: SUSE SLED12 / SLES12 Security Update : kernel (SUSE-SU-2018:2051-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Upgrade: Kernel 4.17.4
Patch: git.kernel.org

Timelineinfo

06/12/2018 🔍
07/06/2018 +23 days 🔍
07/06/2018 +0 days 🔍
07/06/2018 +0 days 🔍
07/06/2018 +0 days 🔍
07/06/2018 +0 days 🔍
07/20/2018 +14 days 🔍
07/24/2018 +4 days 🔍
07/25/2018 +1 days 🔍
04/03/2023 +1713 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: 9f645bcc566a1e9f921bdae7528a01ced5bc3713
Status: Confirmed

CVE: CVE-2018-13406 (🔍)
GCVE (CVE): GCVE-0-2018-13406
GCVE (VulDB): GCVE-100-120484
SecurityFocus: 104685 - Linux Kernel 'drivers/video/fbdev/uvesafb.c' Local Integer Overflow Vulnerability
SecurityTracker: 1041355

See also: 🔍

Entryinfo

Created: 07/06/2018 22:05
Updated: 04/03/2023 20:08
Changes: 07/06/2018 22:05 (79), 03/09/2020 10:29 (7), 04/03/2023 20:01 (5), 04/03/2023 20:08 (1)
Complete: 🔍
Cache ID: 216:5CF:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!