Bug 1439586 (CVE-2017-2673) - CVE-2017-2673 openstack-keystone: Incorrect role assignment with federated Keystone
Summary: CVE-2017-2673 openstack-keystone: Incorrect role assignment with federated Ke...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2017-2673
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1440644 1441472 1441592
Blocks: 1439588
TreeView+ depends on / blocked
 
Reported: 2017-04-06 09:40 UTC by Adam Mariš
Modified: 2019-09-29 14:09 UTC (History)
24 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
An authorization-check flaw was discovered in federation configurations of the OpenStack Identity service (keystone). An authenticated federated user could request permissions to a project and unintentionally be granted all related roles including administrative roles.
Clone Of:
Environment:
Last Closed: 2017-06-28 20:43:00 UTC


Attachments (Terms of Use)
master pike patch (3.38 KB, patch)
2017-04-07 07:30 UTC, Adam Mariš
no flags Details | Diff
stable ocata patch (3.38 KB, patch)
2017-04-07 07:31 UTC, Adam Mariš
no flags Details | Diff
cve-2017-2673-openstack-10-newton.patch (3.48 KB, patch)
2017-04-20 06:48 UTC, Tim Suter
no flags Details | Diff
cve-2017-2673-openstack-11-ocata.patch (5.12 KB, patch)
2017-04-20 06:55 UTC, Tim Suter
no flags Details | Diff
cve-2017-2673-openstack-12-pike.patch (5.05 KB, patch)
2017-04-20 06:55 UTC, Tim Suter
no flags Details | Diff


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:1461 normal SHIPPED_LIVE Moderate: openstack-keystone security, bug fix, and enhancement update 2017-06-14 19:29:03 UTC
Launchpad 1677723 None None None 2017-04-20 06:50:47 UTC
Red Hat Product Errata RHSA-2017:1597 normal SHIPPED_LIVE Important: openstack-keystone security, bug fix, and enhancement update 2017-06-28 18:52:58 UTC

Description Adam Mariš 2017-04-06 09:40:34 UTC
An authenticated user may receive all the roles assigned to the user's project regardless of the federation mapping when there are rules in which group-based assignments are not used. For example, by requesting an admin user to get a role in their project, the user may be granted the admin privileges for new scoped tokens. All setups using the Keystone federation with projects auto-provisioning and no group based assignments rules are affected.

Affected versions: 10.0.0, 10.0.1, 11.0.0

Comment 1 Adam Mariš 2017-04-06 09:40:44 UTC
Acknowledgments:

Name: the Openstack project
Upstream: Boris Bobrov (Mail.Ru)

Comment 2 Adam Mariš 2017-04-07 07:30:31 UTC
Created attachment 1269600 [details]
master pike patch

Comment 3 Adam Mariš 2017-04-07 07:31:33 UTC
Created attachment 1269602 [details]
stable ocata patch

Comment 13 Tim Suter 2017-04-20 05:19:29 UTC
new patches are under review upstream for newton, ocata and pike - will post them once they are accepted.

Comment 14 Tim Suter 2017-04-20 06:48:17 UTC
Created attachment 1272868 [details]
cve-2017-2673-openstack-10-newton.patch

added new patch from upstream for openstack 10

Comment 15 Tim Suter 2017-04-20 06:55:11 UTC
Created attachment 1272869 [details]
cve-2017-2673-openstack-11-ocata.patch

Comment 16 Tim Suter 2017-04-20 06:55:55 UTC
Created attachment 1272870 [details]
cve-2017-2673-openstack-12-pike.patch

Comment 18 Andrej Nemec 2017-04-26 06:49:07 UTC
References:

http://seclists.org/oss-sec/2017/q2/125

Comment 20 errata-xmlrpc 2017-06-14 15:42:03 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 9.0 (Mitaka)

Via RHSA-2017:1461 https://access.redhat.com/errata/RHSA-2017:1461

Comment 21 errata-xmlrpc 2017-06-28 15:19:29 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 10.0 (Newton)

Via RHSA-2017:1597 https://access.redhat.com/errata/RHSA-2017:1597


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