Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1160817 - (CVE-2014-7823) CVE-2014-7823 libvirt: dumpxml: information leak with migratable flag
CVE-2014-7823 libvirt: dumpxml: information leak with migratable flag
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20141105,reported=2...
: Security
Depends On: 1160819 1160820 1160821 1160822 1171739
Blocks: 1160286 1160828 1172193
  Show dependency treegraph
 
Reported: 2014-11-05 12:29 EST by Petr Matousek
Modified: 2018-08-17 14:07 EDT (History)
20 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
It was found that when the VIR_DOMAIN_XML_MIGRATABLE flag was used, the QEMU driver implementation of the virDomainGetXMLDesc() function could bypass the restrictions of the VIR_DOMAIN_XML_SECURE flag. A remote attacker able to establish a read-only connection to libvirtd could use this flaw to leak certain limited information from the domain XML data.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2014:1873 normal SHIPPED_LIVE Moderate: libvirt security and bug fix update 2014-11-18 18:08:55 EST
Red Hat Product Errata RHSA-2015:0008 normal SHIPPED_LIVE Low: libvirt security and bug fix update 2015-01-05 20:29:48 EST

  None (edit)
Description Petr Matousek 2014-11-05 12:29:45 EST
In at least the qemu implementation of virDomainGetXMLDesc, the use
of the flag VIR_DOMAIN_XML_MIGRATABLE (which is usable from a
read-only connection) triggers the implicit use of
VIR_DOMAIN_XML_SECURE prior to calling qemuDomainFormatXML.
However, the use of VIR_DOMAIN_XML_SECURE is supposed to be restricted
to read-write clients only.  

A remote attacker able to establish a read-only connection to libvirtd
could use this flaw to cause leak certain limited information from the
domain xml file.

Reference:
https://www.redhat.com/archives/libvir-list/2014-November/msg00114.html
Comment 1 Petr Matousek 2014-11-05 12:30:46 EST
Statement:

This issue does not affect the versions of libvirt packages as shipped with
Red Hat Enterprise Linux 5.

This issue does affect the versions of libvirt packages as shipped with Red Hat
Enterprise Linux 6 and 7. Future updates may address this issue in the
respective Red Hat Enterprise Linux releases.
Comment 3 Petr Matousek 2014-11-05 12:31:54 EST
Created libvirt tracking bugs for this issue:

Affects: fedora-all [bug 1160822]
Comment 4 errata-xmlrpc 2014-11-18 13:09:31 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2014:1873 https://rhn.redhat.com/errata/RHSA-2014-1873.html
Comment 5 Fedora Update System 2014-11-22 07:37:17 EST
libvirt-1.1.3.8-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 6 Murray McAllister 2014-11-24 02:25:07 EST
Acknowledgements:

This issue was discovered by Eric Blake of Red Hat.
Comment 10 errata-xmlrpc 2015-01-05 15:30:10 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:0008 https://rhn.redhat.com/errata/RHSA-2015-0008.html

Note You need to log in before you can comment on or make changes to this bug.