Glance allows user to create images and add other tenants as members (CVE-2013-4354)
Bug #1226078 reported by
Flavio Percoco
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Invalid
|
Undecided
|
Unassigned | ||
OpenStack Security Notes |
Fix Released
|
Medium
|
Nathan Kinder |
Bug Description
It's well known that Glance does not perform any check on tenants. This has been a behavior we kept as-is to avoid increasing requests needed in the image management process, however, after some tests, I think this behavior can be a security issue.
Scenario:
- Create an image using user1
- Pick tenant's id of user2 and add it as a member of the image user1 just created
- Use user2 to list images. This will list the image user1 created.
I think this is an issue because it allows user from other tenants to sneak images with a backdoor to other tenants.
CVE References
Changed in ossa: | |
status: | New → Incomplete |
summary: |
Glance allows user to create images and add other tenants as members + (CVE-2013-4354) |
no longer affects: | ossa |
information type: | Public Security → Public |
To post a comment you must log in.
I assume this behavior has been exploitable back at least as far as essex? When you say well-known, is the choice not to check tenant membership on these operations publically documented (not just buried in the source code or hinted at in mailing list archives)? Are there scenarios where this could reasonably compromise tenant security or is it simply a means of bypassing resource limits/ restrictions? I'm basically trying to work out whether this warrants an advisory, and if so what risks it presents to whom.