Ubuntu 10.04 LTS : libvirt regression (USN-1008-4)

medium Nessus Plugin ID 50524

Language:

Synopsis

The remote Ubuntu host is missing one or more security-related patches.

Description

USN-1008-1 fixed vulnerabilities in libvirt. The upstream fixes for CVE-2010-2238 changed the behavior of libvirt such that the domain XML could not specify 'host_device' as the qemu sub-type. While libvirt 0.8.3 and later will longer support specifying this sub-type, this update restores the old behavior on Ubuntu 10.04 LTS.

We apologize for the inconvenience.

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).

Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected packages.

See Also

https://usn.ubuntu.com/1008-4/

Plugin Details

Severity: Medium

ID: 50524

File Name: ubuntu_USN-1008-4.nasl

Version: 1.9

Type: local

Agent: unix

Published: 11/9/2010

Updated: 9/19/2019

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.7

CVSS v2

Risk Factor: Medium

Base Score: 4.4

Vector: CVSS2#AV:L/AC:M/Au:S/C:C/I:N/A:N

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:10.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:libvirt0, p-cpe:/a:canonical:ubuntu_linux:libvirt-doc, p-cpe:/a:canonical:ubuntu_linux:python-libvirt, p-cpe:/a:canonical:ubuntu_linux:libvirt0-dbg, p-cpe:/a:canonical:ubuntu_linux:libvirt-bin, p-cpe:/a:canonical:ubuntu_linux:libvirt-dev

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Patch Publication Date: 11/8/2010

Vulnerability Publication Date: 8/19/2010

Reference Information

CVE: CVE-2010-2237, CVE-2010-2238, CVE-2010-2239, CVE-2010-2242

USN: 1008-4