Thierry Carrez (thierry) reports: Title: Missing expiration check in Keystone PKI token validation Reporter: Eoghan Glynn (Red Hat) Products/Affects: Keystone (Folsom only), python-keystoneclient (0.2.0+) Description: Eoghan Glynn from Red Hat reported a vulnerability in expiry checks for PKI tokens in the Keystone authentication middleware. Expired tokens for authenticated users could continue to be used, potentially resulting in the bypass of intended security policies. The effect of PKI token revocation is also reversed when the token expires, in the sense that a revoked token is once again treated as being valid. Only setups using PKI tokens are affected. Note: The affected code was added to Keystone in the Folsom release, but was moved to python-keystoneclient during the Grizzly development cycle.
Created attachment 751373 [details] keystone-folsom-CVE-2013-2104.patch
Created attachment 751374 [details] python-keystoneclient-master-CVE-2013-2104.patch
Created attachment 753617 [details] Updated keystone-folsom-CVE-2013-2104.patch
Created attachment 754099 [details] The final patch from upstream
The upstream patch is available here: https://github.com/openstack/keystone/commit/8d23da1302dde9d38bbc227d9aba30da919b60c8 And the upstream announcement is here: http://www.openwall.com/lists/oss-security/2013/05/28/7
This issue did NOT affect the version of the openstack-keystone package, as shipped with Fedora release of 17. -- This issue affects the version of the openstack-keystone package, as shipped with Fedora release of 18 and Fedora EPEL-6.
Created openstack-keystone tracking bugs for this issue Affects: fedora-all [bug 968328] Affects: epel-6 [bug 968330]
Created python-keystoneclient tracking bugs for this issue Affects: epel-6 [bug 970659] Affects: fedora-rawhide [bug 970660]
Acknowledgements: This issue was discovered by Eoghan Glynn of Red Hat.
This issue did NOT affect the versions of the python-keystoneclient package, as shipped with Fedora release of 17, 18, and Fedora EPEL-6.
This issue has been addressed in following products: OpenStack 3 for RHEL 6 Via RHSA-2013:0944 https://rhn.redhat.com/errata/RHSA-2013-0944.html
openstack-keystone-2012.2.4-5.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
openstack-keystone-2012.2.4-5.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
python-keystoneclient-0.2.3-7.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.