V3 api authentication method chaining
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Guang Yee | ||
OpenStack Security Advisory |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When using authentication method chaining for token creation (POST) in Keystone V3 api , it is possible to use authentication credentials for two different users . For example, if i have an existing token for a Demo user, say 6bb934a0120f097
Now i can make an authentication call using auth method chaining
{
"auth":{
"identity":{
"token"
],
"token":{
},
},
}
}
}
}
}
The call will succeed even though two different users authentication credentials are used. The generated token will get properties of test131 user although the expirary date is set by demo user token. If we change the methods sequence, the generated token will get all properties from demo users token.
This is an undesired security behaviour - token should not be allowed to generate using credentials from two different users.
Changed in ossa: | |
status: | New → Incomplete |
tags: | added: security |
Changed in keystone: | |
importance: | Undecided → Medium |
Changed in keystone: | |
milestone: | icehouse-rc2 → none |
tags: | added: icehouse-rc-potential |
tags: |
added: icehouse-backport-potential removed: icehouse-rc-potential |
Changed in keystone: | |
assignee: | Guang Yee (guang-yee) → Brant Knudson (blk-u) |
Changed in keystone: | |
assignee: | Brant Knudson (blk-u) → Guang Yee (guang-yee) |
Changed in keystone: | |
milestone: | none → juno-1 |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | juno-1 → 2014.2 |
Definitely weird and undesirable! This doesn't seem to be a viable attack vector, though; can this be fixed publicly?