Input validation error in QEMU - CVE-2011-1751

 

Input validation error in QEMU - CVE-2011-1751

Published: June 21, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU43969
CSH Severity: Medium
CVSS v4: 8.5 [CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2011-1751
CWE-ID: CWE-20
Exploitation vector: Adjecent network
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote #AU# to execute arbitrary code.

The pciej_write function in hw/acpi_piix4.c in the PIIX4 Power Management emulation in qemu-kvm does not check if a device is hotpluggable before unplugging the PCI-ISA bridge, which allows privileged guest users to cause a denial of service (guest crash) and possibly execute arbitrary code by sending a crafted value to the 0xae08 (PCI_EJ_BASE) I/O port, which leads to a use-after-free related to "active qemu timers."


Affected software

QEMU
Ubuntu
qemu-kvm (Ubuntu package)
qemu-kvm-extras (Ubuntu package)
qemu-kvm-extras-static (Ubuntu package)

How to mitigate CVE-2011-1751

Install update from vendor's website.

qemu-kvm (Ubuntu package) - addressed in versions 0.12.3+noroms-0ubuntu9.9, 0.12.5+noroms-0ubuntu7.5, 0.14.0+noroms-0ubuntu4.1
qemu-kvm-extras (Ubuntu package) - addressed in versions 0.12.3+noroms-0ubuntu9.9, 0.12.5+noroms-0ubuntu7.5
qemu-kvm-extras-static (Ubuntu package) - addressed in versions 0.12.3+noroms-0ubuntu9.9, 0.12.5+noroms-0ubuntu7.5

External References

Related Security Bulletins