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

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.

Solution

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

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

Set each 'VirtualHost' directive to listen to on a specific IP address and port.

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7b., CAT|II, CCI|CCI-000382, Rule-ID|SV-214285r881484_rule, STIG-ID|AS24-U2-000360, STIG-Legacy|SV-102869, STIG-Legacy|V-92781, Vuln-ID|V-214285

Plugin: Unix

Control ID: 2acc86941ad29ea8dfd28c66521b48be003bcb1ae247a8bb4f473ccb6a7be5b3