Bug 1152346 (CVE-2014-8750)

Summary: CVE-2014-8750 openstack-nova: Nova VMware driver may connect VNC to another tenant's console
Product: [Other] Security Response Reporter: Murray McAllister <mmcallis>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: abaron, akscram, alexander.sakhnov, aortega, apevec, apevec, ayoung, berrange, bfilippov, chrisw, dallan, dasmith, davidx, gkotton, gmollett, itamar, jonathansteffan, jose.castro.leon, jrusnack, lhh, lpeer, markmc, mbooth, mlvov, mmagr, mmcallis, ndipanov, pbrady, p, rbryant, rk, sbauza, sclewis, sferdjao, sgordon, vdanen, vladanovic, vromanso, yeylon
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
A race condition flaw was found in the way the nova VMware driver handled VNC port allocation. An authenticated user could use this flaw to gain unauthorized console access to instances belonging to other tenants by repeatedly spawning new instances. Note that only nova setups using the VMware driver and the VNC proxy service were affected.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-03 12:17:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1152347, 1152348, 1152353, 1152354, 1152355    
Bug Blocks: 1150897, 1152349    

Description Murray McAllister 2014-10-14 01:16:36 UTC
The OpenStack project reports:

""
Title: Nova VMware driver may connect VNC to another tenant's console
Reporter: Marcio Roberto Starke
Products: Nova
Versions: up to 2014.1.3

Description:
Marcio Roberto Starke reported a vulnerability in the Nova VMware
driver. A race condition in its VNC port allocation may cause it to
connect the wrong console if instances are created concurrently. By
repeatedly spawning new instances, an authenticated user may be able
to gain unauthorized console access to instances belonging to other
tenants. Only Nova setups using the VMware driver and the VNC proxy
service are affected.
""

CVE request:
http://seclists.org/oss-sec/2014/q4/313

References:
https://launchpad.net/bugs/1357372
https://review.openstack.org/#/c/126425/

Comment 3 Murray McAllister 2014-10-14 01:17:58 UTC
Created openstack-nova tracking bugs for this issue:

Affects: fedora-all [bug 1152347]

Comment 5 Murray McAllister 2014-10-14 06:48:50 UTC
MITRE assigned CVE-2014-8750 to this issue:

http://seclists.org/oss-sec/2014/q4/316

Comment 6 Matthew Booth 2014-10-14 09:16:12 UTC
The fix for this has been merged into Icehouse stable here:

https://review.openstack.org/#/c/126425/

It hasn't been merged into Havana.

The bug's real and looks fairly easy to exploit, although it would be very difficult to pick a specific target to hijack.

I'm going to assume you want a Havana backport. Do you also need an Icehouse backport, or will that be picked up automatically with the next stable merge?

Comment 12 Martin Prpič 2014-10-21 08:13:21 UTC
IssueDescription:

A race condition flaw was found in the way the nova VMware driver handled VNC port allocation. An authenticated user could use this flaw to gain unauthorized console access to instances belonging to other tenants by repeatedly spawning new instances. Note that only nova setups using the VMware driver and the VNC proxy service were affected.

Comment 13 errata-xmlrpc 2014-10-22 17:22:02 UTC
This issue has been addressed in the following products:

  OpenStack 4 for RHEL 6

Via RHSA-2014:1689 https://rhn.redhat.com/errata/RHSA-2014-1689.html

Comment 14 errata-xmlrpc 2014-11-03 08:26:19 UTC
This issue has been addressed in the following products:

  OpenStack 5 for RHEL 7

Via RHSA-2014:1782 https://rhn.redhat.com/errata/RHSA-2014-1782.html

Comment 15 errata-xmlrpc 2014-11-03 08:26:51 UTC
This issue has been addressed in the following products:

  OpenStack 5 for RHEL 6

Via RHSA-2014:1781 https://rhn.redhat.com/errata/RHSA-2014-1781.html