QEMU drive_init function security bypass
|qemu-driveinit-security-bypass (42268)||Medium Risk|
QEMU could allow a local attacker to bypass security restrictions caused by an error in the drive_init function. By writing a header to a raw formatted disk image that specifies another image format, an attacker on a guest instance could exploit this vulnerability to read arbitrary files on the host.
Refer to the QEMU SVN repository for patch, upgrade or suggested workaround information. See References.
- qemu Change Log, Release 4277, Mon Apr 28 20:26:45 2008 UTC: Savannah CVS Surfing.
- QEMU SVN repository: [qemu] Revision 4277.
- QEMU Web site: QEMU.
- Qemu-devel Mailing List, Mon, 28 Apr 2008 20:26:45 +0000:  add format= to drive options (CVE-2008-2004).
- BID-29101: QEMU 'vl.c' Security Bypass Vulnerability
- CVE-2008-2004: The drive_init function in QEMU 0.9.1 determines the format of a raw disk image based on the header, which allows local guest users to read arbitrary files on the host by modifying the header to identify a different format, which is used when the guest is restarted.
- MDVSA-2008:162: qemu
- RHSA-2008-0194: Important: xen security and bug fix update
- SA29129: KVM Block Device Backend Security Bypass
- SA30111: QEMU "drive_init()" Disk Format Security Bypass
- SUSE-SR:2008:013: SUSE Security Summary Report
- USN-776-1: KVM vulnerabilities
- USN-776-2: KVM regression
- Canonical Ubuntu 8.04 LTS
- Canonical Ubuntu 8.10
- Fabrice Bellard QEMU 0.9.1
- MandrakeSoft Mandrake Linux 2008.0 X86_64
- MandrakeSoft Mandrake Linux 2008.0
- MandrakeSoft Mandrake Linux 2008.1 X86_64
- MandrakeSoft Mandrake Linux 2008.1
- RedHat Enterprise Linux 5
- RedHat Enterprise Linux 5 Client
- RedHat Enterprise Linux 5.1.z EUS
- RedHat RHEL Desktop Multi OS 5 Client
- RedHat RHEL Virtualization 5 Server
- RedHat RHEL Virtualization 5.1.z EUS
Apr 28, 2008
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.