Bug 885130 - (CVE-2012-6137) CVE-2012-6137 subscription-manager: rhn-migrate-classic-to-rhsm missing SSL certificate verification
CVE-2012-6137 subscription-manager: rhn-migrate-classic-to-rhsm missing SSL c...
Status: ASSIGNED
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20130506,repor...
: Security
Depends On: 918970 918967 918968 918969 960257
Blocks: 885150
  Show dependency treegraph
 
Reported: 2012-12-07 09:58 EST by Jan Lieskovsky
Modified: 2013-08-21 12:38 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
A fix for this issue (5.62 KB, patch)
2013-03-01 12:20 EST, Alex Wood
no flags Details | Diff

  None (edit)
Description Jan Lieskovsky 2012-12-07 09:58:42 EST
A security flaw was found in the way rhn-migrate-classic-to-rhsm tool of subscription-manager, a suite of tools and libraries for subscription and repository management, performed migration of system profiles, registered with Red Hat Network Classic to Customer Portal Subscription Management (certificate of Red Hat Network Classic server was not verified for validity). A rogue server could use this flaw to conduct man-in-the-middle (MiTM) attacks, possibly leading to their ability to obtain user credentials, that would be used for authentication of that particular user at Red Hat Network Classic server before the system profile(s) migration.

This issue was found by Florian Weimer of Red Hat Product Security Team.
Comment 1 Jan Lieskovsky 2012-12-07 10:03:15 EST
This issue affects the versions of the subscription-manager package, as shipped with Red Hat Enterprise Linux 5 and 6.

--

This issue (the conceptuality of upcoming change) affects the versions of the subscription-manager package, as shipped with Fedora release of 16 and 17.
Comment 2 Alex Wood 2013-02-26 16:03:42 EST
Forgive me if I'm being obtuse, but could you provide a little more information on the bug?  I assume you're talking about certificate verification in the connect_to_rhn() method.  Does xmlrpclib not do certificate verification when a https link is passed in?
Comment 4 Tomas Hoger 2013-02-27 14:59:22 EST
(In reply to comment #2)
> Does xmlrpclib not do certificate verification when a https link is passed in?

Correct, python xmlrpc lib does not check certificates when it's given https url.
Comment 9 Alex Wood 2013-03-01 12:20:06 EST
Created attachment 704258 [details]
A fix for this issue
Comment 11 Stefan Cornelius 2013-03-07 03:56:51 EST
This has been assigned CVE-2012-6137.
Comment 19 Vincent Danen 2013-05-06 15:39:10 EDT
Created subscription-manager tracking bugs for this issue

Affects: fedora-all [bug 960257]
Comment 20 errata-xmlrpc 2013-05-06 15:43:40 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5
  Red Hat Enterprise Linux 6

Via RHSA-2013:0788 https://rhn.redhat.com/errata/RHSA-2013-0788.html

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