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.
NOTE: The following CVSS v3.0 metrics and score provided are preliminary and subject to review.
|Base Score:||5.3||Base Metrics:||AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N|
|Access Vector:||Network||Attack Complexity:||High|
|Privileges Required:||Low||User Interaction:||None|
|Integrity Impact:||None||Availability Impact:||None|
|Oracle Linux version 7 (qemu)||ELSA-2019-4518||2019-01-25|
|Oracle Linux version 7 (qemu)||ELSA-2019-4556||2019-02-22|
|Oracle Linux version 7 (qemu)||ELSA-2019-4585||2019-03-15|
This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections please contact the Oracle Linux ULN team