UCF STIG Viewer Logo

The Apache web server must be configured to use a specified IP address and port.


Overview

Finding ID Version Rule ID IA Controls Severity
V-92389 AS24-W1-000360 SV-102477r1_rule Medium
Description
The web server must be configured to listen on a specified IP address and port. Without specifying an IP address and port for the web server to use, the web server will listen on all IP addresses available to the hosting server. If the web server has multiple IP addresses, i.e., a management IP address, the web server will also accept connections on the management IP address. Accessing the hosted application through an IP address normally used for non-application functions opens the possibility of user access to resources, utilities, files, ports, and protocols that are protected on the desired application IP address.
STIG Date
Apache Server 2.4 Windows Server Security Technical Implementation Guide 2019-05-23

Details

Check Text ( C-91685r1_chk )
Review the <'INSTALL PATH'>\conf\httpd.conf file and search for the following directive:

Listen

For any enabled "Listen" directives, verify they specify both an IP address and port number.

If the "Listen" directive is found with only an IP address or only a port number specified, this is finding.

If the IP address is all zeros (i.e., 0.0.0.0:80 or [::ffff:0.0.0.0]:80), this is a finding.

If the "Listen" directive does not exist, this is a finding.
Fix Text (F-98627r1_fix)
Edit the <'INSTALL PATH'>\conf\httpd.conf file and set the "Listen" directive to listen on a specific IP address and port.

Restart the Apache service.