AS24-U1-000360 - The Apache web server must be configured to use a specified IP address and port - IP or Port Only

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

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.

Satisfies: SRG-APP-000142-WSR-000089, SRG-APP-000176-WSR-000096

Solution

Determine the location of the 'HTTPD_ROOT' directory and the 'httpd.conf' file:

# httpd -V | egrep -i 'httpd_root|server_config_file'
-D HTTPD_ROOT='/etc/httpd'
-D SERVER_CONFIG_FILE='conf/httpd.conf'

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

Restart Apache: apachectl restart

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Apache_Server_2-4_UNIX_Y22M01_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT, IDENTIFICATION AND AUTHENTICATION

References: 800-53|CM-7, 800-53|IA-5(2), CAT|II, CCI|CCI-000186, CCI|CCI-000382, Rule-ID|SV-214246r612240_rule, STIG-ID|AS24-U1-000360, STIG-Legacy|SV-102749, STIG-Legacy|V-92661, Vuln-ID|V-214246

Plugin: Unix

Control ID: 8560315c47bc9dc6c420d0e701ef8986f5dc2788a4c37d76946ab54f32156061