[OSSA 2013-015] LDAP vulnerability when checking user credentials (CVE-2013-2157)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Critical
|
Adam Young | ||
Folsom |
Fix Released
|
Critical
|
Unassigned | ||
Grizzly |
Fix Released
|
Critical
|
Thierry Carrez | ||
OpenStack Security Advisory |
Fix Released
|
Critical
|
Thierry Carrez |
Bug Description
There is a security vulnerability in the LDAP module when retrieving a token while checking the credentials of a user.
If the password field is not specified, the ldap module does not do the simple_bind and it always returns a valid connection.
curl -i https:/
HTTP/1.1 200 OK
Vary: X-Auth-Token
Content-Type: application/json
Content-Length: 223
Date: Tue, 04 Jun 2013 08:30:31 GMT
{"access": {"token": {"expires": "2013-06-
summary: |
- LDAP vulnerability when checking user credentials + LDAP vulnerability when checking user credentials (CVE-2013-2157) |
Changed in keystone: | |
status: | In Progress → Fix Committed |
Changed in ossa: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | none → havana-2 |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | havana-2 → 2013.2 |
There is a simple fix by checking before the get_connection call if the user_id and password are not empty.