RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2029982 - Cockpit 251 Administrative Access MFA Prompt Window Broken
Summary: Cockpit 251 Administrative Access MFA Prompt Window Broken
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: cockpit
Version: 8.5
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: 8.6
Assignee: Martin Pitt
QA Contact: Jan Ščotka
URL:
Whiteboard:
Depends On:
Blocks: 2032849
TreeView+ depends on / blocked
 
Reported: 2021-12-07 17:50 UTC by itlookslikeanail
Modified: 2022-05-10 16:30 UTC (History)
0 users

Fixed In Version: cockpit-255-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2032849 (view as bug list)
Environment:
Last Closed: 2022-05-10 15:18:37 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)
Cockpit Broken Dialog Box for Admin Access with Duo MFA (28.51 KB, image/jpeg)
2021-12-07 17:50 UTC, itlookslikeanail
no flags Details
Example of working Terminal Window Output when using Duo MFA (69.05 KB, image/jpeg)
2021-12-07 17:51 UTC, itlookslikeanail
no flags Details
Example of working WINSCP Window Output when using Duo MFA (55.15 KB, image/jpeg)
2021-12-07 17:52 UTC, itlookslikeanail
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github cockpit-project cockpit issues 16688 0 None open Administrative Access MFA Prompt Window Broken 2021-12-08 08:19:36 UTC
Red Hat Issue Tracker RHELPLAN-105026 0 None None None 2021-12-07 17:54:02 UTC
Red Hat Product Errata RHSA-2022:2008 0 None None None 2022-05-10 15:18:52 UTC

Description itlookslikeanail 2021-12-07 17:50:33 UTC
Created attachment 1845115 [details]
Cockpit Broken Dialog Box for Admin Access with Duo MFA

Cockpit version: 251
OS: Red Hat 8.5
Page: Administrative Access

Description of problem:

Our Red Hat servers are configured to use Duo for multifactor authentication. In prior versions of Cockpit, we were able to log in as a non-root user and click "Turn on administrative access" and be greeted by a dialog box where we can press a number to select what method we would like Duo to use to authenticate us (push notification to phone # 1, push notification to phone # 2, call to phone # 1, call to phone # 2, etc.).

In the 251 version, which appears to be the latest version available via Red Hat repositories for RHEL 8.5, the dialog box that would allow us to enter a number and initiate the Duo request is not visible. In addition, the dialog text is cut off on the screen.


Supporting Documentation and Screenshots:

The dialog info is cutoff and no dialog box is present to enter/select the number requested by Duo.  As a result, it is impossible to authenticate properly and elevate to admin permissions as a non-root user. This was tested and worked in prior versions.

I am attaching a screenshot showing the way the Cockpit dialog box looks.  In addition, I am attaching how it should looked based on how the terminal and other apps like WINSCP work.  The dialog box in Cockpit needs to be adjusted to display all necessary info as well as the entry field where a selection can be entered.

Comment 1 itlookslikeanail 2021-12-07 17:51:57 UTC
Created attachment 1845116 [details]
Example of working Terminal Window Output when using Duo MFA

Comment 2 itlookslikeanail 2021-12-07 17:52:38 UTC
Created attachment 1845117 [details]
Example of working WINSCP Window Output when using Duo MFA

Comment 3 Martin Pitt 2021-12-08 08:19:36 UTC
Thanks! This got fixed upstream in version 252, so current RHEL 8.6 nightlies already have the fix.

Yesterday we backported the fix to the rhel-8.5 branch: https://github.com/cockpit-project/cockpit/pull/16695

After this is ack'ed, I'll clone the bug for 8.5.z.

Comment 12 errata-xmlrpc 2022-05-10 15:18:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: cockpit security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:2008


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