Libvirt · Libvirt · CVE-2014-5177
**Name of the Vulnerable Software and Affected Versions**
libvirt versions 1.0.0 through 1.2.x before 1.2.5
**Description**
The issue allows local users to read arbitrary files via a crafted XML document containing an XML external entity declaration in conjunction with an entity reference to various API methods, including `virDomainDefineXML`, `virNetworkCreateXML`, `virNetworkDefineXML`, `virStoragePoolCreateXML`, `virStoragePoolDefineXML`, `virStorageVolCreateXML`, `virDomainCreateXML`, `virNodeDeviceCreateXML`, `virInterfaceDefineXML`, `virStorageVolCreateXMLFrom`, `virConnectDomainXMLFromNative`, `virConnectDomainXMLToNative`, `virSecretDefineXML`, `virNWFilterDefineXML`, `virDomainSnapshotCreateXML`, `virDomainSaveImageDefineXML`, `virDomainCreateXMLWithFiles`, `virConnectCompareCPU`, or `virConnectBaselineCPU`. This is related to an XML External Entity (XXE) issue.
**Recommendations**
For libvirt versions 1.0.0 through 1.2.x before 1.2.5, consider disabling the fine grained access control feature until a patch is available. Restrict access to the API methods listed above to minimize the risk of exploitation. Avoid using crafted XML documents that contain XML external entity declarations.