The Vigil@nce team watches public vulnerabilities impacting your computers, and then offers security solutions, a vigilance database and tools to fix them.

Vulnerability of libvirt: external XML entity injection via XML_PARSE_NOENT

Synthesis of the vulnerability 

An attacker can transmit malicious XML data to libvirt, in order to read a file, scan sites, or trigger a denial of service.
Vulnerable products: Debian, Fedora, openSUSE, RHEL, SUSE Linux Enterprise Desktop, SLES, Ubuntu, Unix (platform) ~ not comprehensive.
Severity of this weakness: 2/4.
Number of vulnerabilities in this bulletin: 2.
Creation date: 26/05/2014.
Références of this bulletin: CVE-2014-0179, CVE-2014-5177, DSA-3038-1, FEDORA-2014-6586, LSN-2014-0003, MDVSA-2014:097, MDVSA-2015:115, openSUSE-SU-2014:0650-1, openSUSE-SU-2014:0674-1, RHSA-2014:0560-01, RHSA-2014:0914-01, SUSE-SU-2014:0785-1, USN-2366-1, VIGILANCE-VUL-14796.

Description of the vulnerability 

XML data can contain external entities (DTD):
  <!ENTITY name SYSTEM "file">
  <!ENTITY name SYSTEM "http://server/file">
A program which reads these XML data can replace these entities by data coming from the indicated file. When the program uses XML data coming from an untrusted source, this behavior leads to:
 - content disclosure from files of the server
 - private web site scan
 - a denial of service by opening a blocking file
This feature must be disabled to process XML data coming from an untrusted source.

However, the libvirt parser uses the XML_PARSE_NOENT flag of libxml2, which allows external entities.

An attacker can therefore transmit malicious XML data to libvirt, in order to read a file, scan sites, or trigger a denial of service.
Full bulletin, software filtering, emails, fixes, ... (Request your free trial)

This cybersecurity note impacts software or systems such as Debian, Fedora, openSUSE, RHEL, SUSE Linux Enterprise Desktop, SLES, Ubuntu, Unix (platform) ~ not comprehensive.

Our Vigil@nce team determined that the severity of this computer weakness announce is medium.

The trust level is of type confirmed by the editor, with an origin of document.

This bulletin is about 2 vulnerabilities.

An attacker with a expert ability can exploit this cybersecurity vulnerability.

Solutions for this threat 

Debian: new libvirt packages.
New packages are available:
  Debian 7: libvirt 0.9.12.3-1+deb7u1

Fedora 20: new libvirt packages.
New packages are available:
  Fedora 20: libvirt 1.1.3.5-2.fc20

Mandriva BS2: new libvirt packages.
New packages are available:
  Mandriva BS2: libvirt 1.2.1-2.1.mbs2

Mandriva BS: new libvirt packages.
New packages are available:
  Mandriva BS1: libvirt 1.1.3.5-1.mbs1

openSUSE: new libvirt packages.
New packages are available:
  openSUSE 12.3: libvirt 1.0.2-1.18.1
  openSUSE 13.1: libvirt 1.1.2-2.32.1

RHEL 6.5: new libvirt packages.
New packages are available:
  RHEL 6: libvirt 0.10.2-29.el6_5.8

RHEL 7.0: new libvirt packages.
New packages are available:
  RHEL 7: libvirt 1.1.1-29.el7_0.1

SUSE LE 11: new libvirt packages.
New packages are available:
  SUSE LE 11: libvirt 1.0.5.9-0.9.1

Ubuntu: new libvirt packages.
New packages are available:
  Ubuntu 14.04 LTS: libvirt0 1.2.2-0ubuntu13.1.5
  Ubuntu 12.04 LTS: libvirt0 0.9.8-2ubuntu17.20
  Ubuntu 10.04 LTS: libvirt0 0.7.5-5ubuntu27.25
Full bulletin, software filtering, emails, fixes, ... (Request your free trial)

Computer vulnerabilities tracking service 

Vigil@nce provides applications vulnerabilities patches. Each administrator can customize the list of products for which he wants to receive vulnerability alerts.