Bug 1231817 (CVE-2015-1851) - CVE-2015-1851 openstack-cinder: Host file disclosure through qcow2 backing file
Summary: CVE-2015-1851 openstack-cinder: Host file disclosure through qcow2 backing file
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2015-1851
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact: nlevinki
URL:
Whiteboard:
Depends On: 1231821 1231822 1232925 1232926 1232927 1232928
Blocks: 1231818
TreeView+ depends on / blocked
 
Reported: 2015-06-15 12:49 UTC by Vasyl Kaigorodov
Modified: 2021-02-17 05:12 UTC (History)
22 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A flaw was found in the OpenStack Block Storage (cinder) upload-to-image functionality. When processing a malicious qcow2 header, cinder could be tricked into reading an arbitrary file from the cinder host.
Clone Of:
Environment:
Last Closed: 2017-12-19 00:44:01 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1206 0 normal SHIPPED_LIVE Important: openstack-cinder security and bug fix update 2015-07-03 01:30:16 UTC

Description Vasyl Kaigorodov 2015-06-15 12:49:37 UTC
Title: Host file disclosure through qcow2 backing file
Reporter: Bastian Blank (credativ)
Products: Cinder and Nova
Affects: up to 2014.1.4 and 2014.2 versions through 2014.2.2

Description:
Bastian Blank from credativ reported a vulnerability in Cinder and Nova.
By overwriting an image with a malicious qcow2 header, an authenticated
user may mislead Cinder upload-to-image action, resulting in disclosure
of any file from the Cinder server. A similar vulnerability in Nova can
also be used by an authenticated user to trick Nova during a snapshot
upload, resulting in disclosure of any file for which the Nova process
user has access to. All Cinder and Nova setups are affected.

Upstream bug: https://bugs.launchpad.net/cinder/+bug/1415087
Suggested patches can be found here:
https://bugs.launchpad.net/cinder/+bug/1415087/+attachment/4362440/+files/0001-Disallow-backing-files-when-uploading-volumes-to-ima.patch
https://bugs.launchpad.net/cinder/+bug/1415087/+attachment/4340460/+files/0001-Require-source-image-format-for-convert_image-calls.patch

Comment 1 Vasyl Kaigorodov 2015-06-15 12:52:24 UTC
Created openstack-cinder tracking bugs for this issue:

Affects: fedora-all [bug 1231821]
Affects: openstack-rdo [bug 1231822]

Comment 4 errata-xmlrpc 2015-07-02 21:30:55 UTC
This issue has been addressed in the following products:

  OpenStack 5 for RHEL 6
  OpenStack 5 for RHEL 7
  OpenStack 6 for RHEL 7

Via RHSA-2015:1206 https://rhn.redhat.com/errata/RHSA-2015-1206.html


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