QEMU drive_init function security bypass
| qemu-driveinit-security-bypass (42268) |
Description:
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.
Platforms Affected:
- Fabrice Bellard, QEMU 0.9.1
- RedHat, Enterprise Linux 5
- RedHat, Enterprise Linux 5 Client
- RedHat, RHEL Desktop Multi OS 5 Client
- RedHat, RHEL Virtualization 5 Server
Remedy:
Refer to the QEMU SVN repository for patch, upgrade or suggested workaround information. See References.
Consequences:
Bypass Security
References:
- qemu Change Log, Release 4277, Mon Apr 28 20:26:45 2008 UTC, Savannah CVS Surfing at http://svn.savannah.gnu.org/viewvc/?view=rev&root=qemu&revision=4277.
- QEMU SVN repository, [qemu] Revision 4277 at http://svn.savannah.gnu.org/viewvc/?view=rev&root=qemu&revision=4277.
- QEMU Web site, QEMU at http://fabrice.bellard.free.fr/qemu/.
- Qemu-devel Mailing List, Mon, 28 Apr 2008 20:26:45 +0000, [4277] add format= to drive options (CVE-2008-2004) at http://lists.gnu.org/archive/html/qemu-devel/2008-04/msg00675.html.
- 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.
- RHSA-2008-0194: Important: xen security and bug fix update
- SA30111: QEMU "drive_init()" Disk Format Security Bypass
- SUSE-SR:2008:013: SUSE Security Summary Report
Reported:
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 (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.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
