Vulnerability   
Search   
    Search 324607 CVE descriptions
and 146377 test descriptions,
access 10,000+ cross references.
Tests   CVE   All  

Test ID:1.3.6.1.4.1.25623.1.0.68491
Category:Ubuntu Local Security Checks
Title:Ubuntu USN-1008-1 (libvirt)
Summary:NOSUMMARY
Description:Description:
The remote host is missing an update to libvirt
announced via advisory USN-1008-1.

Details follow:

It was discovered that libvirt would probe disk backing stores without
consulting the defined format for the disk. A privileged attacker in the
guest could exploit this to read arbitrary files on the host. This issue
only affected Ubuntu 10.04 LTS. By default, guests are confined by an
AppArmor profile which provided partial protection against this flaw.
(CVE-2010-2237, CVE-2010-2238)

It was discovered that libvirt would create new VMs without setting a
backing store format. A privileged attacker in the guest could exploit this
to read arbitrary files on the host. This issue did not affect Ubuntu 8.04
LTS. In Ubuntu 9.10 and later guests are confined by an AppArmor profile
which provided partial protection against this flaw. (CVE-2010-2239)

Jeremy Nickurak discovered that libvirt created iptables rules with too
lenient mappings of source ports. A privileged attacker in the guest could
bypass intended restrictions to access privileged resources on the host.
(CVE-2010-2242)

Solution:
The problem can be corrected by upgrading your system to the
following package versions:

Ubuntu 8.04 LTS:
libvirt-bin 0.4.0-2ubuntu8.3
libvirt0 0.4.0-2ubuntu8.3

Ubuntu 9.04:
libvirt-bin 0.6.1-0ubuntu5.2
libvirt0 0.6.1-0ubuntu5.2

Ubuntu 9.10:
libvirt-bin 0.7.0-1ubuntu13.2
libvirt0 0.7.0-1ubuntu13.2

Ubuntu 10.04 LTS:
libvirt-bin 0.7.5-5ubuntu27.5
libvirt0 0.7.5-5ubuntu27.5

After a standard system update you need to reboot your computer to make
all the necessary changes.

ATTENTION: The previous version of libvirt on Ubuntu 10.04 LTS would probe
a qemu disk to determine its format and did not require that the format be
declared in the XML. This is considered a security problem in most
deployments and this version of libvirt will default to the 'raw' format
when the format is not specified in the XML. As a result, non-raw disks
without a specified disk format will no longer be available in existing
virtual machines.

The libvirt-migrate-qemu-disks tool is provided to aid in transitioning
virtual machine definitions to the new required format. In essence, it will
check all domains for affected virtual machines, probe the affected disks
and update the domain definition accordingly. This command will be run
automatically on upgrade. For new virtual machines using non-raw images,
the disk format must be specified in the domain XML provided to libvirt,
otherwise the disk will not be available to the virtual machine. See man 1
libvirt-migrate-qemu-disks for details.

Users who require the old behavior can adjust the 'allow_disk_format_probing'
option in /etc/libvirt/qemu.conf.

http://www.securityspace.com/smysecure/catid.html?in=USN-1008-1

Risk factor : Medium

CVSS Score:
4.4

Cross-Ref: Common Vulnerability Exposure (CVE) ID: CVE-2010-2237
ADV-2010-2763
http://www.vupen.com/english/advisories/2010/2763
FEDORA-2010-10960
http://lists.fedoraproject.org/pipermail/package-announce/2010-July/044520.html
FEDORA-2010-11021
http://lists.fedoraproject.org/pipermail/package-announce/2010-July/044579.html
SUSE-SR:2010:017
http://lists.opensuse.org/opensuse-security-announce/2010-09/msg00006.html
USN-1008-1
http://ubuntu.com/usn/usn-1008-1
USN-1008-2
http://ubuntu.com/usn/usn-1008-2
USN-1008-3
http://ubuntu.com/usn/usn-1008-3
http://libvirt.org/news.html
https://bugzilla.redhat.com/show_bug.cgi?id=607810
Common Vulnerability Exposure (CVE) ID: CVE-2010-2238
https://bugzilla.redhat.com/show_bug.cgi?id=607811
Common Vulnerability Exposure (CVE) ID: CVE-2010-2239
ADV-2010-2062
http://www.vupen.com/english/advisories/2010/2062
RHSA-2010:0615
http://www.redhat.com/support/errata/RHSA-2010-0615.html
https://bugzilla.redhat.com/show_bug.cgi?id=607812
Common Vulnerability Exposure (CVE) ID: CVE-2010-2242
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/591943
https://bugzilla.redhat.com/show_bug.cgi?id=602455
CopyrightCopyright (c) 2010 E-Soft Inc. http://www.securityspace.com

This is only one of 146377 vulnerability tests in our test suite. Find out more about running a complete security audit.

To run a free test of this vulnerability against your system, register below.




© 1998-2025 E-Soft Inc. All rights reserved.