Bug 1048637 (CVE-2014-0028) - CVE-2014-0028 libvirt: event registration bypasses domain:getattr ACL
Summary: CVE-2014-0028 libvirt: event registration bypasses domain:getattr ACL
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2014-0028
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1047964 1054203
Blocks: 1048642
TreeView+ depends on / blocked
 
Reported: 2014-01-06 01:26 UTC by Murray McAllister
Modified: 2023-05-12 12:53 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-21 15:36:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Murray McAllister 2014-01-06 01:26:00 UTC
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.

Comment 1 Murray McAllister 2014-01-07 02:26:45 UTC
Acknowledgements:

This issue was discovered by Eric Blake of the Red Hat libvirt team.

Comment 2 Petr Matousek 2014-01-16 12:51:11 UTC
Statement:

Not vulnerable.

This issue did not affect the libvirt packages as shipped with Red Hat Enterprise Linux 5 and 6.

Comment 3 Petr Matousek 2014-01-16 12:52:29 UTC
Upstream patch:

  https://www.redhat.com/archives/libvir-list/2014-January/msg00684.html

Comment 4 Petr Matousek 2014-01-16 12:53:47 UTC
Created libvirt tracking bugs for this issue:

Affects: fedora-20 [bug 1054203]


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