The firewalld service on RHEL 9 must be active.

STIG ID: RHEL-09-251015  |  SRG: SRG-OS-000096-GPOS-00050 |  Severity: medium |  CCI: CCI-000366,CCI-000382,CCI-002314 |  Vulnerability Id: V-257936

Vulnerability Discussion

"Firewalld" provides an easy and effective way to block/limit remote access to the system via ports, services, and protocols.

Remote access services, such as those providing remote access to network devices and information systems, which lack automated control capabilities, increase risk and make remote user access management difficult at best.

Remote access is access to DOD nonpublic information systems by an authorized user (or an information system) communicating through an external, non-organization-controlled network. Remote access methods include, for example, dial-up, broadband, and wireless.

RHEL 9 functionality (e.g., RDP) must be capable of taking enforcement action if the audit reveals unauthorized activity. Automated control of remote access sessions allows organizations to ensure ongoing compliance with remote access policies by enforcing connection rules of remote access applications on a variety of information system components (e.g., servers, workstations, notebook computers, smartphones, and tablets).

Satisfies: SRG-OS-000096-GPOS-00050, SRG-OS-000297-GPOS-00115, SRG-OS-000480-GPOS-00227, SRG-OS-000480-GPOS-00232

Check

Verify that "firewalld" is active with the following command:

$ systemctl is-active firewalld

active

If the firewalld service is not active, this is a finding.

Fix

To enable the firewalld service run the following command:

$ sudo systemctl enable --now firewalld