QEMU Media Transfer Protocol usb_mtp_get_object/usb_mtp_get_partial_object input validation

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.
5.1$5k-$25k0.00

Summaryinfo

A vulnerability, which was classified as critical, was found in QEMU. The impacted element is the function usb_mtp_get_object/usb_mtp_get_partial_object of the component Media Transfer Protocol. Executing a manipulation can lead to input validation. This vulnerability appears as CVE-2018-16872. The attack may be performed from remote. There is no available exploit.

Detailsinfo

A vulnerability has been found in QEMU (Virtualization Software) (affected version not known) and classified as critical. This vulnerability affects the function usb_mtp_get_object/usb_mtp_get_partial_object of the component Media Transfer Protocol. The manipulation with an unknown input leads to a input validation vulnerability. The CWE definition for the vulnerability is CWE-20. The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

A flaw was found in qemu Media Transfer Protocol (MTP). The code opening files in usb_mtp_get_object and usb_mtp_get_partial_object and directories in usb_mtp_object_readdir doesn't consider that the underlying filesystem may have changed since the time lstat(2) was called in usb_mtp_object_alloc, a classical TOCTTOU problem. An attacker with write access to the host filesystem shared with a guest can use this property to navigate the host filesystem in the context of the QEMU process and read any file the QEMU process has access to. Access to the filesystem may be local or via a network share protocol such as CIFS.

The bug was discovered 12/14/2018. The weakness was presented 12/13/2018 by Michael Hanselmann as confirmed bug report (Bugzilla). The advisory is shared for download at bugzilla.redhat.com. This vulnerability was named CVE-2018-16872 since 09/11/2018. The attack can be initiated remotely. A single authentication is required for exploitation. There are known technical details, but no exploit is available. The current price for an exploit might be approx. USD $5k-$25k (estimation calculated on 10/26/2024).

The vulnerability scanner Nessus provides a plugin with the ID 209571 (Oracle Linux 8 : virt:kvm_utils3 (ELSA-2024-12792)), which helps to determine the existence of the flaw in a target environment. The commercial vulnerability scanner Qualys is able to test this issue with plugin 157908 (Oracle Enterprise Linux Security Update for qemu (ELSA-2019-4518)).

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

The vulnerability is also documented in the databases at Tenable (209571) and SecurityFocus (BID 106212†). See VDB-128256, VDB-128257, VDB-128258 and VDB-128259 for similar entries. Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Name

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.1
VulDB Meta Temp Score: 5.1

VulDB Base Score: 5.0
VulDB Temp Score: 5.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 5.3
NVD Vector: 🔍

CNA Base Score: 5.0
CNA Vector (Red Hat, Inc.): 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Input validation
CWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 209571
Nessus Name: Oracle Linux 8 : virt:kvm_utils3 (ELSA-2024-12792)

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Timelineinfo

09/11/2018 🔍
12/13/2018 +93 days 🔍
12/13/2018 +0 days 🔍
12/13/2018 +0 days 🔍
12/14/2018 +1 days 🔍
12/14/2018 +0 days 🔍
10/26/2024 +2143 days 🔍

Sourcesinfo

Product: qemu.org

Advisory: USN-3923-1
Researcher: Michael Hanselmann
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2018-16872 (🔍)
GCVE (CVE): GCVE-0-2018-16872
GCVE (VulDB): GCVE-100-127948
SecurityFocus: 106212 - QEMU CVE-2018-16872 Directory Traversal Vulnerability

See also: 🔍

Entryinfo

Created: 12/14/2018 07:48
Updated: 10/26/2024 21:05
Changes: 12/14/2018 07:48 (61), 04/20/2020 20:34 (5), 06/19/2023 08:05 (3), 06/19/2023 08:08 (10), 10/26/2024 21:05 (16)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!