Skip to content

All controls

FGT-SEC-005MediumFortiGateCIS 4.1.2

Internet-facing accept policy without an IPS sensor

At a glance

Base severity

Medium

Area

Security Profiles

Platform

FortiGate

Evidence level

Derived0.90

Benchmark reference

CIS 4.1.2

Reads the export, not the device

ConfigProof reads the configuration, from an uploaded export or through the Relay. This control is evaluated against the objects in that configuration and reports what it says, so a finding here describes the configuration, not the traffic the firewall carries right now.

Why it matters

Traffic to or from the internet is where known exploits arrive. Without an IPS sensor the policy passes it on addresses and ports alone.

How to fix it

Web interface

The steps below are written for the web interface. A finding raised on your own export carries the same steps with your object names filled in.

  1. Enable security profiles on the policy and apply an IPS sensor.

Command line

FortiOS CLI

config firewall policyedit <policy-id>set utm-status enableset ips-sensor defaultnextend

An example. Values in angle brackets are yours to supply; a finding on your own export fills in the names it read. FortiOS saves a change when you type next or end, with no separate commit. Read every line first.

Read it back

show firewall policy <policy-id>
Values to fill in1
<policy-id>
The policy id to change
Before you type it3
  • Written from the FortiOS CLI Reference, not yet run on a device. Read each line before typing it.
  • On a device with VDOMs, type these inside the VDOM (config vdom, edit the VDOM) or inside config global for a global setting.
  • Start the profiles in monitor mode and read their logs before they block.

How to confirm the fix

  • Review the sensor's log in monitor mode before it blocks.

Limits

  • An interface is internet facing here when its role is wan, a default route leaves by it, or a DHCP or PPPoE lease installs one.
  • A default route through a tunnel is not the internet here: the internet and its inspection may be at the hub.
  • A default route through an interface whose role is written lan or dmz, or a DHCP lease on one or on a management port, is not taken as the internet.
  • A default route through a link to another VDOM, or in a VRF other than 0, is not judged here.
  • A configuration analyzed before the reader stored a policy-based IPsec policy's tunnel (fortios-1.38.0), in a VDOM that holds one, cannot tell those policies from plain accept ones: none is reported until the configuration is analyzed again.

Compliance references

4.1.2

CIS FortiGate 7.4.x Benchmark v1.0.1

Covers part of the recommendation

Where a control aligns with a recommendation of the CIS FortiGate 7.4.x Benchmark v1.0.1, that recommendation is cited as a reference. Only that version was checked. A reference is not a certification.

See it on your own firewall

One complete analysis of one firewall costs nothing and needs no card.

Start a free analysis