Bug 1160817 (CVE-2014-7823) - CVE-2014-7823 libvirt: dumpxml: information leak with migratable flag
Summary: CVE-2014-7823 libvirt: dumpxml: information leak with migratable flag
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2014-7823
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1160819 1160820 1160821 1160822 1171739
Blocks: 1160286 1160828 1172193
TreeView+ depends on / blocked
 
Reported: 2014-11-05 17:29 UTC by Petr Matousek
Modified: 2023-05-12 21:48 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-10-20 10:48:00 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2014:1873 0 normal SHIPPED_LIVE Moderate: libvirt security and bug fix update 2014-11-18 23:08:55 UTC
Red Hat Product Errata RHSA-2015:0008 0 normal SHIPPED_LIVE Low: libvirt security and bug fix update 2015-01-06 01:29:48 UTC

Description Petr Matousek 2014-11-05 17:29:45 UTC
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 17:30:46 UTC
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 17:31:54 UTC
Created libvirt tracking bugs for this issue:

Affects: fedora-all [bug 1160822]

Comment 4 errata-xmlrpc 2014-11-18 18:09:31 UTC
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 12:37:17 UTC
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 07:25:07 UTC
Acknowledgements:

This issue was discovered by Eric Blake of Red Hat.

Comment 10 errata-xmlrpc 2015-01-05 20:30:10 UTC
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.