CWE Code: 78
Vulnerability Type: privilege_escalation
CVSS Score: 6.9
CWE Name:  Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Summary: an issue was discovered in xen through 4.12.x allowing attackers to gain host os privileges via dma in a situation where an untrusted domain has access to a physical device. this occurs because passed through pci devices may corrupt host memory after deassignment. when a pci device is assigned to an untrusted domain, it is possible for that domain to program the device to dma to an arbitrary address. the iommu is used to protect the host from malicious dma by making sure that the device addresses can only target memory assigned to the guest. however, when the guest domain is torn down, or the device is deassigned, the device is assigned back to dom0, thus allowing any in-flight dma to potentially target critical host data. an untrusted domain with access to a physical device can dma into host memory, leading to privilege escalation. only systems where guests are given direct access to physical devices capable of dma (pci pass-through) are vulnerable. systems which do not use pci pass-through are not vulnerable.
Access Authentication: NONE
Access Complexity: UNKNOWN
Access Vector: UNKNOWN
Impact (C/I/A): NONE/NONE/NONE
Published Date: 2019-10-31
Last Modified Date: 2019-10-31