cbcvebase.
CVE-2019-12928
published 2019-06-24

CVE-2019-12928: The QMP migrate command in QEMU version 4.0.0 and earlier is vulnerable to OS command injection, which allows the remote attacker to achieve code execution…

PriorityP274critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EXPLOIT
EPSS
23.04%
97.5th percentile
The QMP migrate command in QEMU version 4.0.0 and earlier is vulnerable to OS command injection, which allows the remote attacker to achieve code execution, denial of service, or information disclosure by sending a crafted QMP command to the listening server. Note: This has been disputed as a non-issue since QEMU's -qmp interface is meant to be used by trusted users. If one is able to access this interface via a tcp socket open to the internet, then it is an insecure configuration issue

Affected

2 ranges
VendorProductVersion rangeFixed in
debianqemu
qemuqemu<= 4.0.0

Detection & IOCsextracted from sources · hover to see the quote

commandmigrate exec:
  • Monitor for QEMU Monitor Protocol (QMP) or Human Monitor Interface (HMP) TCP sockets exposed on the network; exploitation uses the `migrate` command with an `exec:` URI to achieve OS command injection.
  • Alert on any inbound TCP connections to QEMU QMP/HMP listener ports from untrusted/external sources; the attack vector requires network access to the listening QMP TCP server.
  • Inspect QMP/HMP command streams for `migrate` commands containing `exec:` payloads, which are the mechanism used for OS command injection.
  • ·This vulnerability only applies when the QEMU QMP/HMP interface is exposed via a TCP socket accessible to untrusted users; using a local UNIX socket (the default for libvirt) is not exploitable by remote attackers.
  • ·Libvirt deployments are not affected because libvirt exclusively uses local UNIX sockets owned by the QEMU process user-id, preventing remote or cross-VM access.
  • ·Red Hat and upstream QEMU dispute this as a security issue, noting that QMP access already implies full administrative control of the guest VM; correct access controls on QMP network connections prevent exploitation entirely.

CVSS provenance

nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
osv9.8CRITICAL
vendor_debian9.8LOW
vendor_redhat9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.