Bug 1119494 - VUL-0: CVE-2018-16872: xen: usb-mtp: path traversal by host filesystem manipulation in Media Transfer Protocol (MTP)
Summary: VUL-0: CVE-2018-16872: xen: usb-mtp: path traversal by host filesystem manipu...
Status: RESOLVED UPSTREAM
Alias: None
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/220991/
Whiteboard: CVSSv3:SUSE:CVE-2018-16872:5.0:(AV:L...
Keywords:
Depends on: CVE-2018-16872
Blocks:
  Show dependency treegraph
 
Reported: 2018-12-14 08:32 UTC by Alexander Bergmann
Modified: 2019-01-11 09:29 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Bergmann 2018-12-14 08:32:26 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
Comment 1 Charles Arnold 2018-12-14 21:20:19 UTC
No version of the Xen qemu that we ship contains the code for the
USB Media Transfer (Device) Protocol.
This bug may be closed.
Comment 2 Marcus Meissner 2018-12-17 09:40:25 UTC
not affected