Ubuntu 22.04 LTS must have an application firewall enabled.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-260516 | UBTU-22-251020 | SV-260516r1184061_rule | CCI-000366 | medium |
| Description | ||||
| Firewalls protect computers from network attacks by blocking or limiting access to open network ports. Application firewalls limit which applications are allowed to communicate over the network. | ||||
| STIG | Date | |||
| Canonical Ubuntu 22.04 LTS Security Technical Implementation Guide | 2026-02-06 | |||
Details
Check Text (C-260516r1184061_chk)
Verify the ufw is enabled on the system with the following command:
$ sudo ufw status
Status: active
If the above command returns the status as "inactive" or any type of error, this is a finding.
If the ufw is not installed, ask the system administrator if another application firewall is installed. If a different firewall is active on the system, this is not a finding.
Fix Text (F-64153r1184060_fix)
Enable the ufw by using the following command:
$ sudo ufw enable
Note: Enabling the firewall will potentially disrupt ssh sessions.