CVE-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 an improper filename sanitization. When t...
HighCVSS 7.8
EPSS 0.42%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/qemu(Debian:12) | < 1:3.1+dfsg-1 | 1:3.1+dfsg-1 |
| debian/qemu(Debian:13) | < 1:3.1+dfsg-1 | 1:3.1+dfsg-1 |
| debian/qemu(Debian:14) | < 1:3.1+dfsg-1 | 1:3.1+dfsg-1 |
| qemu | <= 3.0.0 | No fix listed |
| qemu | = 3.1.0-rc0 | No fix listed |
| qemu | = 3.1.0-rc1 | No fix listed |
| qemu | = 3.1.0-rc2 | No fix listed |
| qemu | = 3.1.0-rc3 | No fix listed |
| fedoraproject fedora | = 29 | No fix listed |
| Canonical Ubuntu Linux | = 14.04 | No fix listed |
| Canonical Ubuntu Linux | = 16.04 | No fix listed |
| Canonical Ubuntu Linux | = 18.04 | No fix listed |
| Canonical Ubuntu Linux | = 18.10 | No fix listed |
| [UNKNOWN] QEMU: | = 3.1.0 | No fix listed |
References
- Debian Security Tracker CVE-2018-16867 vendor-advisory
- 106195 third-party-advisory vdb-entry
- bugzilla.redhat.com issue-tracking patch third-party-advisory
- FEDORA-2019-88a98ce795 vendor-advisory
- USN-3923-1 third-party-advisory vendor-advisory
- [oss-security] 20181206 CVE-2018-16867 QEMU: dev-mtp: path traversal in usb_mtp_write_data of the Media Transfer Protocol (MTP) mailing-list patch third-party-advisory
- bugs.debian.org issue-tracking