Skip to content

The web server must be configured to listen on a specific IP address and port.

An XCCDF Rule

Description

The Apache Listen directive specifies the IP addresses and port numbers the Apache web server will listen for requests. Rather than be unrestricted to listen on all IP addresses available to the system, the specific IP address or addresses intended must be explicitly specified. Specifically a Listen directive with no IP address specified, or with an IP address of zero’s should not be used. Having multiple interfaces on web servers is fairly common, and without explicit Listen directives, the web server is likely to be listening on an inappropriate IP address / interface that was not intended for the web server. Single homed system with a single IP addressed are also required to have an explicit IP address in the Listen directive, in case additional interfaces are added to the system at a later date.

Property Value
Responsibility Web Administrator

ID
SV-33184r1_rule
Version
WA00555 W22
Severity
Medium
Updated

Remediation Templates

A Manual Procedure

Configure the Listen directive to listen on a specific IP address and port.