Bugzilla – Bug 1119494
VUL-0: CVE-2018-16872: xen: usb-mtp: path traversal by host filesystem manipulation in Media Transfer Protocol (MTP)
Last modified: 2019-01-11 09:29:13 UTC
+++ This bug was initially created as a clone of Bug #1119493 +++ This bug was opened to check if the qemu copy inside Xen is also affected. rh#1656114 / CVE-2018-16872 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. Upstream patch: https://lists.gnu.org/archive/html/qemu-devel/2018-12/msg03135.html Reference: https://www.openwall.com/lists/oss-security/2018/12/13/11 References: https://bugzilla.redhat.com/show_bug.cgi?id=1656114 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-16872 http://seclists.org/oss-sec/2018/q4/242 https://lists.gnu.org/archive/html/qemu-devel/2018-12/msg03135.html
No version of the Xen qemu that we ship contains the code for the USB Media Transfer (Device) Protocol. This bug may be closed.
not affected