Red Hat Bugzilla – Bug 1048637
CVE-2014-0028 libvirt: event registration bypasses domain:getattr ACL
Last modified: 2015-01-21 10:36:18 EST
Eric Blake from Red Hat reports that ever since libvirt 1.1.1 added ACL domain:getattr filtering for commands like virConnectListAllDomains, we have had a latent problem that the use of virConnectDomainEventRegister() and virConnectDomainEventRegisterAny() can be used to learn about virDomainPtr objects that should have been inaccessible to the user. It is not a problem if you are not using ACLs; also, it is partially mitigated by the fact that any domain that does not trigger an event in the timeframe where the attacker maintains their event callback will not be leaked.
Once an attacker has learned about a domain by bypassing domain:getattr, they could perform other actions on the domain if there were not ACLs to filter those actions too, such as starting and stopping the domain.
This issue was discovered by Eric Blake of the Red Hat libvirt team.
This issue did not affect the libvirt packages as shipped with Red Hat Enterprise Linux 5 and 6.
Created libvirt tracking bugs for this issue:
Affects: fedora-20 [bug 1054203]