Use-after-free in USB controller in QEMU



Published: 2020-09-17
Risk Medium
Patch available NO
Number of vulnerabilities 1
CVE-ID CVE-2020-25084
CWE-ID CWE-416
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
QEMU
Client/Desktop applications / Virtualization software

Vendor QEMU

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Use-after-free

EUVDB-ID: #VU46790

Risk: Medium

CVSSv3.1: 7.3 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H/E:P/RL:U/RC:C]

CVE-ID: CVE-2020-25084

CWE-ID: CWE-416 - Use After Free

Exploit availability: No

Description

The vulnerability allows a remote user to perform a denial of service (DoS) attack.

The vulnerability exists due to a use-after-free error in USB(xHCI/eHCI) controller emulators of QEMU in hw/usb/hcd-xhci.c and hw/usb/hcd-ehci.c files when processing USB packets. A remote user on the guest operating system can send specially crafted data to the controller, trigger a use-after-free error and crash the QEMU process.


Mitigation

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Vulnerable software versions

QEMU: 1.3.0 - 5.1.0

External links

http://seclists.org/oss-sec/2020/q3/180
http://lists.nongnu.org/archive/html/qemu-devel/2020-08/msg08050.html
http://lists.nongnu.org/archive/html/qemu-devel/2020-08/msg08043.html
http://ruhr-uni-bochum.sciebo.de/s/NNWP2GfwzYKeKwE?path=%2Fxhci_uaf_2


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to trick the victim to open a a specially crafted file.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###