QEMU up to 3.0.x Media Transfer Protocol hw/usb/dev-mtp.c usb_mtp_write_data path traversal

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

Summaryinfo

A vulnerability, which was classified as critical, was found in QEMU up to 3.0.x. This impacts the function usb_mtp_write_data of the file hw/usb/dev-mtp.c of the component Media Transfer Protocol. Executing a manipulation can lead to path traversal. This vulnerability is handled as CVE-2018-16867. It is possible to launch the attack on the local host. There is not any exploit available. You should upgrade the affected component.

Detailsinfo

A vulnerability was found in QEMU up to 3.0.x (Virtualization Software). It has been declared as critical. This vulnerability affects the function usb_mtp_write_data of the file hw/usb/dev-mtp.c of the component Media Transfer Protocol. The manipulation with an unknown input leads to a path traversal vulnerability. The CWE definition for the vulnerability is CWE-22. The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

A flaw was found in qemu Media Transfer Protocol (MTP) before version 3.1.0. A path traversal in the in usb_mtp_write_data function in hw/usb/dev-mtp.c due to an improper filename sanitization. When the guest device is mounted in read-write mode, this allows to read/write arbitrary files which may lead do DoS scenario OR possibly lead to code execution on the host.

The bug was discovered 12/06/2018. The weakness was released 12/12/2018 by Michael Hanselmann (oss-sec). The advisory is available at openwall.com. This vulnerability was named CVE-2018-16867 since 09/11/2018. 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. This vulnerability is assigned to T1006 by the MITRE ATT&CK project.

The vulnerability was handled as a non-public zero-day exploit for at least 6 days. During that time the estimated underground price was around $5k-$25k. 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 197406 (Ubuntu Security Notification for Qemu Vulnerabilities (USN-3923-1)).

Upgrading to version 3.1.0 eliminates this vulnerability.

The vulnerability is also documented in the databases at Tenable (209571) and SecurityFocus (BID 106195†). Entries connected to this vulnerability are available at VDB-128069 and VDB-131004. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.6
VulDB Meta Temp Score: 7.4

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.8
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Path traversal
CWE: CWE-22
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: 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: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: QEMU 3.1.0

Timelineinfo

09/11/2018 🔍
12/06/2018 +86 days 🔍
12/12/2018 +6 days 🔍
12/12/2018 +0 days 🔍
12/13/2018 +1 days 🔍
12/13/2018 +0 days 🔍
10/26/2024 +2144 days 🔍

Sourcesinfo

Product: qemu.org

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

CVE: CVE-2018-16867 (🔍)
GCVE (CVE): GCVE-0-2018-16867
GCVE (VulDB): GCVE-100-127906
SecurityFocus: 106195 - QEMU CVE-2018-16867 Directory Traversal Vulnerability

See also: 🔍

Entryinfo

Created: 12/13/2018 10:01
Updated: 10/26/2024 17:11
Changes: 12/13/2018 10:01 (67), 04/20/2020 16:21 (4), 06/18/2023 15:04 (4), 10/26/2024 17:11 (17)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!