STIGhubSTIGhub
STIGsRMF ControlsCompare

STIGhub

A free tool to search and browse the entire DISA STIG library. Saves up to 75% in security compliance research time.

Navigation

  • Browse STIGs
  • Search
  • RMF Controls
  • Compare Versions

Resources

  • About
  • Release Notes
  • VPAT
  • DISA STIG Library
STIGs updated 3 hours ago
Powered by Pylon
© 2026 Beacon Cloud Solutions, Inc. All rights reserved.
← Back to Canonical Ubuntu 18.04 LTS Security Technical Implementation Guide

V-219340

CAT II (Medium)

The Ubuntu operating system must configure the uncomplicated firewall to rate-limit impacted network interfaces.

Rule ID

SV-219340r958902_rule

STIG

Canonical Ubuntu 18.04 LTS Security Technical Implementation Guide

Version

V2R15

CCIs

CCI-002385

Discussion

DoS is a condition when a resource is not available for legitimate users. When this occurs, the organization either cannot accomplish its mission or must operate at degraded capacity. This requirement addresses the configuration of the Ubuntu operating system to mitigate the impact of DoS attacks that have occurred or are ongoing on system availability. For each system, known and potential DoS attacks must be identified and solutions for each type implemented. A variety of technologies exist to limit or, in some cases, eliminate the effects of DoS attacks (e.g., limiting processes or establishing memory partitions). Employing increased capacity and bandwidth, combined with service redundancy, may reduce the susceptibility to some DoS attacks.

Check Content

Verify an application firewall is configured to rate limit any connection to the system.

Check that the Uncomplicated Firewall is configured to rate limit any connection to the system with the following command:

$ sudo ufw show user-rules

IPV4 (user):

Chain ufw-user-input (1 references)

    pkts      bytes target     prot opt in     out     source               destination

       1       52 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:22 /* 'dapp_OpenSSH' */

       0        0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:443

 

Chain ufw-user-forward (1 references)

    pkts      bytes target     prot opt in     out     source               destination

 

Chain ufw-user-output (1 references)

    pkts      bytes target     prot opt in     out     source               destination

 

Chain ufw-user-limit-accept (0 references)

    pkts      bytes target     prot opt in     out     source               destination

       0        0 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0

 

Chain ufw-user-limit (0 references)

    pkts      bytes target     prot opt in     out     source               destination

       0        0 LOG        all  --  *      *       0.0.0.0/0            0.0.0.0/0            limit: avg 3/min burst 5 LOG flags 0 level 4 prefix "[UFW LIMIT BLOCK] "

       0        0 REJECT     all  --  *      *       0.0.0.0/0            0.0.0.0/0            reject-with icmp-port-unreachable

If any service is not rate limited by the Uncomplicated Firewall, this is a finding.

Fix Text

Configure the application firewall to protect against or limit the effects of Denial of Service (DoS) attacks by ensuring the Ubuntu operating system is implementing rate-limiting measures on impacted network interfaces.

Run the following command replacing "[service]" with the service that needs to be rate limited.

$ sudo ufw limit [service]

Or rate-limiting can be done on an interface. An example of adding a rate-limit on the eth0 interface:

$ sudo ufw limit in on eth0