Bug 2060129 (CVE-2022-0852) - CVE-2022-0852 convert2rhel: Red Hat account password passed via command line by code
Summary: CVE-2022-0852 convert2rhel: Red Hat account password passed via command line ...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-0852
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2060225 2060226 2077963
Blocks: 2054854
TreeView+ depends on / blocked
 
Reported: 2022-03-02 19:09 UTC by Todd Cullum
Modified: 2022-07-06 15:43 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
There is a flaw in convert2rhel. convert2rhel passes the Red Hat account password to subscription-manager via the command line, which could allow unauthorized users locally on the machine to view the password via the process command line via e.g. htop or ps. The specific impact varies upon the privileges of the Red Hat account in question, but it could affect the integrity, availability, and/or data confidentiality of other systems that are administered by that account. This occurs regardless of how the password is supplied to convert2rhel.
Clone Of:
Environment:
Last Closed: 2022-04-27 11:45:33 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:1599 0 None None None 2022-04-27 06:28:51 UTC
Red Hat Product Errata RHSA-2022:1617 0 None None None 2022-04-27 07:22:39 UTC
Red Hat Product Errata RHSA-2022:1618 0 None None None 2022-04-27 07:23:31 UTC

Description Todd Cullum 2022-03-02 19:09:41 UTC
In convert2rhel's subscription.py file, code to register a system passes the password via the commandline. This could result in disclosure of the password to all users with local access to the system.

Reference:

1. https://github.com/oamg/convert2rhel/blob/main/convert2rhel/subscription.py#L156

Comment 3 errata-xmlrpc 2022-04-27 06:28:49 UTC
This issue has been addressed in the following products:

  Convert2RHEL for RHEL-8

Via RHSA-2022:1599 https://access.redhat.com/errata/RHSA-2022:1599

Comment 4 errata-xmlrpc 2022-04-27 07:22:36 UTC
This issue has been addressed in the following products:

  Convert2RHEL for RHEL-7

Via RHSA-2022:1617 https://access.redhat.com/errata/RHSA-2022:1617

Comment 5 errata-xmlrpc 2022-04-27 07:23:29 UTC
This issue has been addressed in the following products:

  Convert2RHEL for RHEL-6

Via RHSA-2022:1618 https://access.redhat.com/errata/RHSA-2022:1618

Comment 6 Product Security DevOps Team 2022-04-27 11:45:31 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-0852


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