Bug 1466323 (CVE-2016-4383) - CVE-2016-4383 openstack-glance: glance-manage db purge breaks image immutability expectation
Summary: CVE-2016-4383 openstack-glance: glance-manage db purge breaks image immutabil...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2016-4383
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1466324
Blocks: 1466325
TreeView+ depends on / blocked
 
Reported: 2017-06-29 12:33 UTC by Adam Mariš
Modified: 2019-09-29 14:15 UTC (History)
22 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
An immutability flaw was discovered in openstack-glance, where the glance-manage DB allows deleted image IDs to be reassigned. The flaw could be exploited to allow remote authenticated users to cause other users to boot into a malicious image without knowing it.
Clone Of:
Environment:
Last Closed: 2018-02-15 06:26:39 UTC


Attachments (Terms of Use)

Description Adam Mariš 2017-06-29 12:33:06 UTC
The glance-manage db in openstack-glance allows deleted image IDs to be reassigned, which allows remote authenticated users to cause other users to boot into a modified image without notification of the change.

References:

https://bugs.launchpad.net/glance/+bug/1593799/
https://h20566.www2.hpe.com/hpsc/doc/public/display?docId=emr_na-c05273584

Comment 1 Adam Mariš 2017-06-29 12:33:39 UTC
Created openstack-glance tracking bugs for this issue:

Affects: openstack-rdo [bug 1466324]

Comment 2 Summer Long 2017-08-01 04:09:56 UTC
The OSSN is here (with mitigation): https://wiki.openstack.org/wiki/OSSN/OSSN-0075

Comment 6 Summer Long 2017-09-06 01:08:47 UTC
Mitigation:

For this flaw to be exploited, both non-admin image upload must be permitted and records of deleted IDs must have been purged from the openstack-glance 'images' database table. 
To prevent flaw exploitation:
* Do not allow non-admin users to upload images, or
* If you do permit normal users to upload images, do not purge the 'images' table. Note: It is safe to delete rows from `image_properties`, `image_tags`, `image_members`, and `image_locations` tables.

Comment 14 Andrej Nemec 2018-05-14 11:59:42 UTC
Red Hat Product Security has rated this issue as having security impact of Moderate for:
* Red Hat Enterprise Linux OpenStack Platform 6.0 (Juno) for RHEL 7
* Red Hat Enterprise Linux OpenStack Platform 7.0 (Kilo) for RHEL 7
* Red Hat OpenStack Platform 8.0 (Liberty)
* Red Hat OpenStack Platform 9.0 (Mitaka)
* Red Hat OpenStack Platform 10.0 (Newton) 
* Red Hat OpenStack Platform 11.0 (Ocata)
* Red Hat OpenStack Platform 12.0 (Pike)

This issue is not currently planned to be addressed in future updates (see Mitigation). For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.


Note You need to log in before you can comment on or make changes to this bug.