Bug 851672 (CVE-2012-3533) - CVE-2012-3533 ovirt 3.1: does not validate server identity in new python SDK and CLI
Summary: CVE-2012-3533 ovirt 3.1: does not validate server identity in new python SDK ...
Keywords:
Status: ON_QA
Alias: CVE-2012-3533
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 851674
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-24 16:30 UTC by Vincent Danen
Modified: 2023-07-07 08:34 UTC (History)
2 users (show)

Fixed In Version: ovirt-engine-sdk-python-3.4.0.7-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 26271 0 None MERGED sdk: Check SSL server name 2020-01-23 11:21:28 UTC
oVirt gerrit 26815 0 None MERGED sdk: Check SSL server name 2020-01-23 11:21:28 UTC

Description Vincent Danen 2012-08-24 16:30:14 UTC
It was reported that oVirt 3.1 did not properly validate SSL certificates of the server when the client would connect.  This could permit man-in-the-middle attacks.

In oVirt sdk, the python httplib.HTTPSConnection function is used to let the programmer specify the client's pair of certificates, but does not force the underlying SSL library to check the server certificate against the client keys.

Because of this, the oVirt CLI tool does not check certificates upon connection.

The new python SDK (ovirt-engine-sdk) and new python CLI (ovirt-engine-cli) were introduced in oVirt 3.1 [1] ; earlier versions are not affected by this flaw.

This has been corrected in upstream git for the sdk [2] and the cli [3].

[1] http://wiki.ovirt.org/wiki/Release_Notes#Interfaces
[2] http://gerrit.ovirt.org/#/c/7209/
[3] http://gerrit.ovirt.org/#/c/7249/

Comment 1 Vincent Danen 2012-08-24 16:38:44 UTC
Created ovirt-engine tracking bugs for this issue

Affects: fedora-all [bug 851674]

Comment 3 Michael Pasternak 2012-08-26 07:41:12 UTC
Fix for the mentioned issue available in:

sdk: 3.1.0.6
cli: 3.1.0.8

Comment 4 Juan Hernández 2014-04-16 09:11:17 UTC
The check of the host name has been added in upstream release 3.4.0.7 of the Python SDK. The CLI doesn't need any modification. Packages containing the fixes are available here:

  http://jhernand.fedorapeople.org/rpms/ovirt-engine-sdk-python/3.4.0.7-1

Updates for Fedora 19, Fedora 20, and EPEL 6 are available here:

  https://admin.fedoraproject.org/updates/ovirt-engine-sdk-python-3.4.0.7-1.fc19
  https://admin.fedoraproject.org/updates/ovirt-engine-sdk-python-3.4.0.7-1.fc20
  https://admin.fedoraproject.org/updates/ovirt-engine-sdk-python-3.4.0.7-1.el6


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