Bug 971884 (CVE-2013-2157)

Summary: CVE-2013-2157 openstack-keystone: Authentication bypass when using LDAP backend
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: abaron, aortega, apevec, ayoung, chrisw, dallan, jkt, jrusnack, kseifried, markmc, rbryant, sclewis, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-09 03:28:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 972245, 973812, 974950, 974951    
Bug Blocks: 971892, 973859    
Attachments:
Description Flags
Proposed upstream patch for the issue against master branch
none
Proposed upstream patch for the issue against grizzly branch
none
Proposed upstream patch for the issue against folsom branch none

Description Jan Lieskovsky 2013-06-07 13:39:30 UTC
A security flaw was found in the way Keystone, a Python implementation of the OpenStack identity service API, performed user authentication when the LDAP backend was used (previously user-provided empty LDAP password resulted into an anonymous LDAP bind to be performed, resulting into successful user authentication). A remote attacker could use this flaw to obtain unauthorized access to the OpenStack functionality (user account impersonation, retrieval of valid authentication tokens).

Note: This issue solely affects only Keystone configurations using the LDAP authentication backend.

Acknowledgements:

Red Hat would like to thank Thierry Carrez of OpenStack upstream for reporting this issue. Upstream acknowledges Jose Castro Leon of CERN as the original issue reporter.

Comment 2 Jan Lieskovsky 2013-06-07 13:43:25 UTC
Created attachment 758168 [details]
Proposed upstream patch for the issue against master branch

Comment 3 Jan Lieskovsky 2013-06-07 13:44:16 UTC
Created attachment 758169 [details]
Proposed upstream patch for the issue against grizzly branch

Comment 4 Jan Lieskovsky 2013-06-07 13:44:59 UTC
Created attachment 758170 [details]
Proposed upstream patch for the issue against folsom branch

Comment 5 Jan Lieskovsky 2013-06-07 13:47:23 UTC
Preliminary embargo date for this issue has been set up by OpenStack upstream to Thursday, 13-th of June 2013, 15:00 UTC time.

Comment 6 Jan Lieskovsky 2013-06-07 13:48:15 UTC
This issue affects the versions of the openstack-keystone package, as shipped with Fedora release of 17, 18, Rawhide and Fedora EPEL-6.

Comment 7 Jan Lieskovsky 2013-06-07 13:56:44 UTC
This issue did NOT affect the versions of the python-keystoneclient, as shipped with Fedora release of 17, 18, Rawhide and Fedora EPEL-6.

Comment 10 Jan Lieskovsky 2013-06-17 08:49:43 UTC
Created openstack-keystone tracking bugs for this issue

Affects: fedora-all [bug 974950]
Affects: epel-6 [bug 974951]

Comment 11 errata-xmlrpc 2013-06-27 16:47:26 UTC
This issue has been addressed in following products:

  OpenStack 3 for RHEL 6

Via RHSA-2013:0994 https://rhn.redhat.com/errata/RHSA-2013-0994.html

Comment 12 Fedora Update System 2013-07-12 19:37:20 UTC
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.

Comment 13 errata-xmlrpc 2013-07-16 17:31:48 UTC
This issue has been addressed in following products:

  OpenStack Folsom for RHEL 6

Via RHSA-2013:1083 https://rhn.redhat.com/errata/RHSA-2013-1083.html

Comment 14 Fedora Update System 2013-07-20 09:31:51 UTC
openstack-keystone-2013.1.2-3.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2013-08-09 17:01:28 UTC
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.