TMAegis
More rules for opnsense

TMA-OPNSENSE-1.8

Ensure Web Management is Set to use HTTPS

HighLevel 1Automatedopnsense

Description

Web Admin Management Portal should only be accessed using HTTPS Protocol. HTTP transmits all data (including passwords) in clear text over the network and provides no assurance of the identity of the hosts involved. Because of this HTTP should never be used for sensitive tasks such as managing network devices or entering login credentials and HTTPS should be configured for Web Portal Management instead

How it is checked

Audit method: Configuration pattern

Pattern
<webgui>(?:[^<]|<[^/<]|</[^w<]|</w[^e<]|</we[^b<]|</web[^g<]|</webg[^u<]|</webgu[^i<]|</webgui[^><])*?<protocol>https</protocol>

How it is fixed

Fix method: Guidance or infrastructure patch

In the GUI: - Navigate to System -> Settings -> Administration - Select the 'Enable HTTP Strict Transport Security' option - Click 'Save'

Properties

Operating systems
Any
Tags
opnsense
Reference
CIS OPNsense Benchmark v1.0.0 - 1.8 Ensure Web Management is Set to use HTTPS

Check this host

Run this on a machine you are allowed to audit. The scan is read-only.

shell
tmaegis scan --target opnsense