AS24-U1-000260 - The Apache web server must not be a proxy server.

Information

A web server should be primarily a web server or a proxy server but not both, for the same reasons that other multiuse servers are not recommended. Scanning for web servers that will also proxy requests into an otherwise protected network is a very common attack, making the attack anonymous.

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'

Edit the file and comment out the ProxyRequests directive in the httpd.conf file.

Restart Apache: apachectl restart

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7a., CAT|II, CCI|CCI-000381, Rule-ID|SV-214241r1051280_rule, STIG-ID|AS24-U1-000260, STIG-Legacy|SV-102731, STIG-Legacy|V-92643, Vuln-ID|V-214241

Plugin: Unix

Control ID: 9156a386185c804a4f7cb31a48b5287484a4b21d0262ba1adc3d1204867b86da