Some vulnerabilities have been reported in QEMU, which can be exploited by malicious, local users to bypass certain security restrictions or cause a DoS (Denial of Service).
1) A boundary error exists within the "cirrus_invalidate_region()" function of the Cirrus video driver, which can be exploited to cause a heap-based buffer overflow.
2) The size of ethernet frames is not correctly checked against the "MTU" before being copied into the registers of the NE2000 network driver. This can be exploited to cause a heap-based buffer overflow.
3) An integer signedness error when processing data in the NE2000 device registers can be exploited to cause a heap-based buffer overflow.
Successful exploitation of 1) through 3) may allow the execution of arbitrary code.
4) Errors when handling the "icebp" instruction can be exploited to cause a DoS by terminating the emulation session.
5) An error within the handling of the "aam" instruction can result in a division by zero, which can be exploited to cause a DoS.
6) A boundary error in "dyngen_code()" when generating host instructions can be exploited to cause a buffer overflow.
7) The block device backends do not properly check a guest's read or write attempts, which can be exploited to e.g. crash the QEMU process or potentially escape the virtualisation jail by writing into arbitrary QEMU host memory.
Successful exploitation of this vulnerability requires privileges to send specially crafted read or write requests to the ioemu block device backends.
Other issues, like an infinite loop in the SB16 driver, the dereference of an uninitialised function in the DMA handling, signedness errors in the IDE handling, and panics in the BIOS and VGA BIOS have also been reported.
Solution: Vulnerability #1 is fixed in the SVN repository.
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org
Subject: QEMU Various Vulnerabilities
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.