CVE-2018-16867
published 2018-12-12CVE-2018-16867: 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…
PriorityP339high7.8CVSS 3.1
AVLACHPRLUINSCCHIHAH
EPSS
0.42%
34.7th percentile
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.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | qemu | < qemu 1:3.1+dfsg-1 (bookworm) | qemu 1:3.1+dfsg-1 (bookworm) |
| fedoraproject | fedora | — | — |
| qemu | qemu | <= 3.0.0 | — |
| qemu | qemu | — | — |
| qemu | qemu | >= 0 < 1:3.1+dfsg-1 | 1:3.1+dfsg-1 |
| qemu | qemu | >= 0 < 1:3.1+dfsg-1 | 1:3.1+dfsg-1 |
| qemu | qemu | >= 0 < 1:3.1+dfsg-1 | 1:3.1+dfsg-1 |
| qemu | qemu | >= 0 < 1:3.1+dfsg-1 | 1:3.1+dfsg-1 |
| qemu | qemu | >= 0 < 2.0.0+dfsg-2ubuntu1.45 | 2.0.0+dfsg-2ubuntu1.45 |
| qemu | qemu | >= 0 < 1:2.5+dfsg-5ubuntu10.36 | 1:2.5+dfsg-5ubuntu10.36 |
| qemu | qemu | >= 0 < 1:2.11+dfsg-1ubuntu7.12 | 1:2.11+dfsg-1ubuntu7.12 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
nvdv3.07.0HIGHCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H
nvdv2.04.4MEDIUMAV:L/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-6ch3-xhrw-w89m: A flaw was found in qemu Media Transfer Protocol (MTP) before version 3
ghsa_unreviewed·2022-05-13
CVE-2018-16867 [HIGH] CWE-362 GHSA-6ch3-xhrw-w89m: A flaw was found in qemu Media Transfer Protocol (MTP) before version 3
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.
OSV
qemu vulnerabilities
osv·2019-03-27·CVSS 7.8
CVE-2018-16867 [HIGH] qemu vulnerabilities
qemu vulnerabilities
Michael Hanselmann discovered that QEMU incorrectly handled the Media
Transfer Protocol (MTP). An attacker inside the guest could use this issue
to read or write arbitrary files and cause a denial of service, or possibly
execute arbitrary code. This issue only affected Ubuntu 18.10.
(CVE-2018-16867)
Michael Hanselmann discovered that QEMU incorrectly handled the Media
Transfer Protocol (MTP). An attacker inside the guest could use this issue
to read arbitrary files, contrary to expectations. This issue only affected
Ubuntu 18.04 LTS and Ubuntu 18.10. (CVE-2018-16872)
Zhibin Hu discovered that QEMU incorrectly handled the Plan 9 File System
support. An attacker inside the guest could use this issue to cause QEMU to
crash, resulting in a denial of service. (CVE-2018-1
OSV
CVE-2018-16867: A flaw was found in qemu Media Transfer Protocol (MTP) before version 3
osv·2018-12-12·CVSS 7.8
CVE-2018-16867 [HIGH] CVE-2018-16867: A flaw was found in qemu Media Transfer Protocol (MTP) before version 3
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.
Ubuntu
QEMU vulnerabilities
vendor_ubuntu·2019-03-27·CVSS 7.8
CVE-2018-16867 [HIGH] QEMU vulnerabilities
Title: QEMU vulnerabilities
Summary: Several security issues were fixed in QEMU.
Michael Hanselmann discovered that QEMU incorrectly handled the Media
Transfer Protocol (MTP). An attacker inside the guest could use this issue
to read or write arbitrary files and cause a denial of service, or possibly
execute arbitrary code. This issue only affected Ubuntu 18.10.
(CVE-2018-16867)
Michael Hanselmann discovered that QEMU incorrectly handled the Media
Transfer Protocol (MTP). An attacker inside the guest could use this issue
to read arbitrary files, contrary to expectations. This issue only affected
Ubuntu 18.04 LTS and Ubuntu 18.10. (CVE-2018-16872)
Zhibin Hu discovered that QEMU incorrectly handled the Plan 9 File System
support. An attacker inside the guest could use this issue to cause
Red Hat
QEMU: dev-mtp: path traversal in usb_mtp_write_data of the Media Transfer Protocol (MTP)
vendor_redhat·2018-12-03·CVSS 7.8
CVE-2018-16867 [HIGH] CWE-362 QEMU: dev-mtp: path traversal in usb_mtp_write_data of the Media Transfer Protocol (MTP)
QEMU: dev-mtp: path traversal in usb_mtp_write_data of the Media Transfer Protocol (MTP)
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.
A flaw was found in QEMU's Media Transfer Protocol (MTP) where a path traversal in the in usb_mtp_write_data function in hw/usb/dev-mtp.c due to an improper file name sanitization. Reading and writing of arbitrary files is allowed when a guest device is mounted which may lead to a denial of service scenario or possibly lead to code executi
Debian
CVE-2018-16867: qemu - A flaw was found in qemu Media Transfer Protocol (MTP) before version 3.1.0. A p...
vendor_debian·2018·CVSS 7.8
CVE-2018-16867 [HIGH] CVE-2018-16867: qemu - A flaw was found in qemu Media Transfer Protocol (MTP) before version 3.1.0. A p...
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.
Scope: local
bookworm: resolved (fixed in 1:3.1+dfsg-1)
bullseye: resolved (fixed in 1:3.1+dfsg-1)
forky: resolved (fixed in 1:3.1+dfsg-1)
sid: resolved (fixed in 1:3.1+dfsg-1)
trixie: resolved (fixed in 1:3.1+dfsg-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-16867 qemu: path traversal in usb_mtp_write_data in hw/usb/dev-mtp.c of the Media Transfer Protocol (MTP) [fedora-all]
bugzilla·2018-12-06·CVSS 7.8
CVE-2018-16867 [HIGH] CVE-2018-16867 qemu: path traversal in usb_mtp_write_data in hw/usb/dev-mtp.c of the Media Transfer Protocol (MTP) [fedora-all]
CVE-2018-16867 qemu: path traversal in usb_mtp_write_data in hw/usb/dev-mtp.c of the Media Transfer Protocol (MTP) [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NO
Bugzilla
CVE-2018-16867 QEMU: dev-mtp: path traversal in usb_mtp_write_data of the Media Transfer Protocol (MTP)
bugzilla·2018-11-29·CVSS 7.8
CVE-2018-16867 [HIGH] CVE-2018-16867 QEMU: dev-mtp: path traversal in usb_mtp_write_data of the Media Transfer Protocol (MTP)
CVE-2018-16867 QEMU: dev-mtp: path traversal in usb_mtp_write_data of the Media Transfer Protocol (MTP)
A flaw was found in qemu Media Transfer Protocol (MTP). 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.
Upstream patch:
-> https://lists.gnu.org/archive/html/qemu-devel/2018-12/msg00390.html
Reference:
-> https://www.openwall.com/lists/oss-security/2018/12/06/1
Discussion:
Acknowledgments:
Name: Michael Hanselmann (hansmi.ch)
---
Created qemu tracking bugs for this issue:
Affects: fedora-all [bug 1656746]
---
External Reference:
https://
http://www.securityfocus.com/bid/106195https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16867https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CGCFIFSIWUREEQQOZDZFBYKWZHXCWBZN/https://usn.ubuntu.com/3923-1/https://www.openwall.com/lists/oss-security/2018/12/06/1http://www.securityfocus.com/bid/106195https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16867https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CGCFIFSIWUREEQQOZDZFBYKWZHXCWBZN/https://usn.ubuntu.com/3923-1/https://www.openwall.com/lists/oss-security/2018/12/06/1
2018-12-12
Published