Bug 1231816 (CVE-2015-1850) - CVE-2015-1850 openstack-nova: Host file disclosure through qcow2 backing file
Summary: CVE-2015-1850 openstack-nova: Host file disclosure through qcow2 backing file
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2015-1850
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1231819 1231820 1232929 1232930 1232931 1232932
Blocks: 1231818
TreeView+ depends on / blocked
 
Reported: 2015-06-15 12:48 UTC by Vasyl Kaigorodov
Modified: 2021-02-17 05:13 UTC (History)
43 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A flaw was found in how the OpenStack Compute (nova) service handles the qemu-img functionality during a snapshot upload. An authenticated attacker could possibly use this flaw to trick Compute into disclosing any file to which the Compute service user has access. However, it is unlikely that the code path can currently be exploited by an attacker.
Clone Of:
Environment:
Last Closed: 2017-12-19 01:04:50 UTC
Embargoed:


Attachments (Terms of Use)

Description Vasyl Kaigorodov 2015-06-15 12:48:15 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:51:55 UTC
Created openstack-nova tracking bugs for this issue:

Affects: fedora-all [bug 1231819]
Affects: openstack-rdo [bug 1231820]

Comment 4 Garth Mollett 2015-06-30 03:37:00 UTC
Statement:

Red Hat Product Security has rated this issue as having Low security impact in all supported versions of Red Hat Enterprise Linux OpenStack Platform. While this issue is present, we do not believe the code path is currently reachable in an attacker exploitable fashion.

A future update may address this flaw.


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