Bug 855491 (CVE-2012-4413) - CVE-2012-4413 OpenStack-Keystone: role revocation token issues
Summary: CVE-2012-4413 OpenStack-Keystone: role revocation token issues
Alias: CVE-2012-4413
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 856708 856712 856720
Blocks: 836072 852512
TreeView+ depends on / blocked
Reported: 2012-09-08 04:08 UTC by Kurt Seifried
Modified: 2023-05-12 23:16 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-10-16 18:17:04 UTC

Attachments (Terms of Use)
CVE-2012-4413-master-v4.txt (5.56 KB, text/plain)
2012-09-08 04:18 UTC, Kurt Seifried
no flags Details
CVE-2012-4413-stable-essex-v4.txt (5.59 KB, text/plain)
2012-09-08 04:19 UTC, Kurt Seifried
no flags Details

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1378 0 normal SHIPPED_LIVE Important: openstack-keystone security update 2012-10-16 21:24:23 UTC

Description Kurt Seifried 2012-09-08 04:08:52 UTC
Russell Bryant (rbryant) of the OpenStack Project reports:

Title: Revoking a role does not affect existing tokens
Impact: High
Reporter: Dolph Mathews (Rackspace)
Products: Keystone
Affects: Essex, Folsom

Dolph Mathews reported a vulnerability in Keystone. Granting and
revoking roles from a user is not reflected upon token validation for
pre-existing tokens. Pre-existing tokens continue to be valid for the
original set of roles for the remainder of the token's lifespan, or
until explicitly invalidated. This fix invalidates all tokens held by
a user upon role grant/revoke to circumvent the issue.

Comment 1 Kurt Seifried 2012-09-08 04:13:14 UTC
See the attached patches. For Essex, the following patch also needs to
be in place before the fix for the vulnerability will be fully
effective: https://review.openstack.org/#/c/12590/. The equivalent
patch for the memcached token backend in Folsom has already been merged.

Comment 2 Kurt Seifried 2012-09-08 04:18:46 UTC
Created attachment 610928 [details]

Comment 3 Kurt Seifried 2012-09-08 04:19:12 UTC
Created attachment 610929 [details]

Comment 5 Kurt Seifried 2012-09-12 15:48:23 UTC
This has now been released publicly:


Comment 7 Kurt Seifried 2012-09-12 15:57:30 UTC
Created openstack-keystone tracking bugs for this issue

Affects: fedora-all [bug 856712]

Comment 8 Kurt Seifried 2012-09-12 16:06:44 UTC
Created openstack-keystone tracking bugs for this issue

Affects: epel-6 [bug 856720]

Comment 9 Murray McAllister 2012-09-25 02:05:50 UTC

Red Hat would like to thank Dolph Mathews for reporting this issue.

Comment 10 errata-xmlrpc 2012-10-16 17:25:53 UTC
This issue has been addressed in following products:

  OpenStack Essex for RHEL 6

Via RHSA-2012:1378 https://rhn.redhat.com/errata/RHSA-2012-1378.html

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