Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA25073

QEMU Various Vulnerabilities
Secunia Advisory SA25073
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2007-05-01
Last Update 2008-11-03
   
Popularity 14,845 views
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact Security Bypass
DoS
Where Local system
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Partial Fix
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
   
Software:
QEMU 0.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2007-1320 CVSS available in Customer Area
CVE-2007-1321 CVSS available in Customer Area
CVE-2007-1322 CVSS available in Customer Area
CVE-2007-1323 CVSS available in Customer Area
CVE-2007-1366 CVSS available in Customer Area
CVE-2007-5729 CVSS available in Customer Area
CVE-2007-5730 CVSS available in Customer Area
CVE-2007-6227 CVSS available in Customer Area
CVE-2008-0928 CVSS available in Customer Area
CVE-2008-4539 CVSS available in Customer Area
  

Description

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.
Further details available in Customer Area

Provided and/or discovered by
1)-5) Tavis Ormandy, Google
6) TeLeMan
7) Ian Jackson

Changelog
Further details available in Customer Area

Original Advisory
Tavis Ormandy:
http://taviso.decsystem.org/virtsec.pdf

http://lists.gnu.org/archive/html/qemu-devel/2007-12/msg00009.html

Ian Jackson:
http://marc.info/?l=debian-security&m=120343592917055&w=2

Deep Links
Links available in Customer Area


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 vuln@secunia.com

Subject: QEMU Various Vulnerabilities
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2012 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability