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 2038977 - Find solution for RHEL8 STIG rules that are meant to disconnect idle SSH users
Summary: Find solution for RHEL8 STIG rules that are meant to disconnect idle SSH users
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: scap-security-guide
Version: 8.6
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Gabriel Gaspar Becker
QA Contact: BaseOS QE Security Team
Jan Fiala
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-10 16:48 UTC by Gabriel Gaspar Becker
Modified: 2023-03-14 10:16 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
.SSH timeout rules in STIG profiles configure incorrect options An update of OpenSSH affected the rules in the following Defense Information Systems Agency Security Technical Implementation Guide (DISA STIG) profiles: * DISA STIG for RHEL 8 (`xccdf_org.ssgproject.content_profile_stig`) * DISA STIG with GUI for RHEL 8 (`xccdf_org.ssgproject.content_profile_stig_gui`) In each of these profiles, the following two rules are affected: ---- Title: Set SSH Client Alive Count Max to zero CCE Identifier: CCE-83405-1 Rule ID: xccdf_org.ssgproject.content_rule_sshd_set_keepalive_0 STIG ID: RHEL-08-010200 Title: Set SSH Idle Timeout Interval CCE Identifier: CCE-80906-1 Rule ID: xccdf_org.ssgproject.content_rule_sshd_set_idle_timeout STIG ID: RHEL-08-010201 ---- When applied to SSH servers, each of these rules configures an option (`ClientAliveCountMax` and `ClientAliveInterval`) that no longer behaves as previously. As a consequence, OpenSSH no longer disconnects idle SSH users when it reaches the timeout configured by these rules. As a workaround, these rules have been temporarily removed from the DISA STIG for RHEL 8 and DISA STIG with GUI for RHEL 8 profiles until a solution is developed.
Clone Of:
Environment:
Last Closed: 2022-09-02 08:13:27 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-107317 0 None None None 2022-01-10 16:51:57 UTC

Description Gabriel Gaspar Becker 2022-01-10 16:48:51 UTC
Description of problem:

Rules "Set SSH Idle Timeout Interval" and "Set SSH Client Alive Max Count" won't work the way they used work in previous versions of RHEL8 and an alternative solution needs to be found. Either the following RFE is fulfilled: https://bugzilla.redhat.com/show_bug.cgi?id=2022064 or DISA moves into another direction for the requirement fulfillment.

"Idle" SSH connections will not be terminated anymore no matter what configuration is in place. See https://bugzilla.redhat.com/show_bug.cgi?id=2015828 for more details.

Comment 8 Vojtech Polasek 2022-09-02 08:13:27 UTC
This BZ is superseded by:
https://bugzilla.redhat.com/show_bug.cgi?id=2122322


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